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