blob: 34264e5eca65e1d6d40f9d87ba8f71b6f453e0ca [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 = tint_module_vars_struct{.I=(&I)};
int const i = (*tint_module_vars.I);
int const u = (i + 1);
}