blob: a4596c37f2277800f2e12f3d4bed3ea66248b13c [file] [log] [blame]
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
struct tint_array_wrapper {
int arr[4];
};
struct S {
tint_array_wrapper arr;
};
struct tint_array_wrapper_1 {
tint_array_wrapper arr[2];
};
void foo() {
const tint_array_wrapper src = {(int[4])0};
tint_array_wrapper tint_symbol = (tint_array_wrapper)0;
S dst_struct = (S)0;
tint_array_wrapper_1 dst_array = (tint_array_wrapper_1)0;
dst_struct.arr = src;
dst_array.arr[1] = src;
tint_symbol = src;
dst_struct.arr = src;
dst_array.arr[0] = src;
}