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