blob: abfb0b985fb80badb2cceca8d7972b8d109db255 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread int* i;
};
kernel void tint_symbol() {
thread int i = 123;
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.i=(&i)};
thread int* const p = tint_module_vars.i;
int const u = ((*p) + 1);
}