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