blob: 83599ac6ab4c3e9ac844fd545dcd7faae3a81b65 [file] [log] [blame]
SKIP: FAILED
void f() {
int2[2] v = arr;
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}
DXC validation failure:
hlsl.hlsl:2:12: error: brackets are not allowed here; to declare an array, place the brackets after the name
int2[2] v = arr;
~~~ ^
[2]
hlsl.hlsl:2:15: error: use of undeclared identifier 'arr'
int2[2] v = arr;
^