blob: b1b1710f47205ce010fe2a96d3bd4fb2658fab5b [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread int* I;
};
kernel void tint_symbol() {
thread int I = 0;
tint_module_vars_struct const tint_module_vars = {.I=(&I)};
(*tint_module_vars.I) = 123;
(*tint_module_vars.I) = 123;
}