blob: 57bf97dffe9b0217c898309451fd25a7d00c7d86 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_array_wrapper {
int arr[8];
};
int f() {
tint_array_wrapper const a = {.arr={1, 2, 3, 4, 5, 6, 7, 8}};
int const i = 1;
return a.arr[i];
}