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