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