blob: 5335a0afd940e4788fb214e1520d4f1188d3f988 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
struct tint_module_vars_struct {
thread S* V;
};
void main_1(tint_module_vars_struct tint_module_vars) {
int i = 0;
i = (*tint_module_vars.V).i;
}
kernel void tint_symbol() {
thread S V = {};
tint_module_vars_struct const tint_module_vars = {.V=(&V)};
main_1(tint_module_vars);
}