blob: 8bc2f626511bdfb569cff3ccc9990f3697fb9a42 [file] [log] [blame]
SKIP: FAILED
void a() {
int a = 1;
int b = a;
int a = 1;
int b = a;
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}
DXC validation failure:
hlsl.hlsl:4:7: error: redefinition of 'a'
int a = 1;
^
hlsl.hlsl:2:7: note: previous definition is here
int a = 1;
^
hlsl.hlsl:5:7: error: redefinition of 'b'
int b = a;
^
hlsl.hlsl:3:7: note: previous definition is here
int b = a;
^