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