blob: 2a1f4cd91ff3f9299c6eafe5500614b6e9741228 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
struct tint_private_vars_struct {
S V;
};
void main_1(thread tint_private_vars_struct* const tint_private_vars) {
(*(tint_private_vars)).V.i = 5;
return;
}
kernel void tint_symbol() {
thread tint_private_vars_struct tint_private_vars = {};
main_1(&(tint_private_vars));
return;
}