2021-06-16 09:19:36 +00:00
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void unused_entry_point() {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2021-06-16 09:19:36 +00:00
|
|
|
struct tint_array_wrapper {
|
2021-06-02 17:23:03 +00:00
|
|
|
int arr[4];
|
|
|
|
};
|
2021-06-16 09:19:36 +00:00
|
|
|
struct S {
|
|
|
|
tint_array_wrapper arr;
|
|
|
|
};
|
|
|
|
struct tint_array_wrapper_1 {
|
|
|
|
tint_array_wrapper arr[2];
|
|
|
|
};
|
2021-06-02 17:23:03 +00:00
|
|
|
|
|
|
|
void foo() {
|
2021-07-02 19:27:42 +00:00
|
|
|
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;
|
2021-06-02 17:23:03 +00:00
|
|
|
dst_struct.arr = src;
|
2021-06-16 09:19:36 +00:00
|
|
|
dst_array.arr[1] = src;
|
2021-06-02 17:23:03 +00:00
|
|
|
tint_symbol = src;
|
|
|
|
dst_struct.arr = src;
|
2021-06-16 09:19:36 +00:00
|
|
|
dst_array.arr[0] = src;
|
2021-06-02 17:23:03 +00:00
|
|
|
}
|