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