blob: fc7979136f1855455b5ce35ac463ab31c91414bb [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_array_wrapper {
float arr[4];
};
int foo() {
return 1;
}
fragment void tint_symbol() {
tint_array_wrapper arr = {.arr={}};
int const a_save = foo();
for(; ; ) {
float const x = arr.arr[a_save];
break;
}
return;
}