blob: 65fd63fa99e06a017a0b4eed681f14aa9137cb13 [file] [log] [blame]
SKIP: FAILED
void f() {
uint[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
uint[2] v = arr;
~~~ ^
[2]
hlsl.hlsl:2:15: error: use of undeclared identifier 'arr'
uint[2] v = arr;
^