blob: bfaf75c495c6c735f0ac53d7c919b46bf2e55a5b [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread int* i;
};
kernel void tint_symbol() {
thread int i = 123;
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.i=(&i)};
thread int* const p = tint_module_vars.i;
int const u = as_type<int>((as_type<uint>((*p)) + as_type<uint>(1)));
}