blob: 49c51f76011d6a7614526128ac9e2aa8bf314a37 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
int a;
};
struct tint_module_vars_struct {
const constant S* v;
};
kernel void tint_symbol(const constant S* v [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.v=v};
const constant int* const p = (&(*tint_module_vars.v).a);
int const u = ((*p) + 1);
}