diff options
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-3727.slang | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs/gh-3727.slang b/tests/bugs/gh-3727.slang new file mode 100644 index 000000000..89480d146 --- /dev/null +++ b/tests/bugs/gh-3727.slang @@ -0,0 +1,10 @@ +//TEST:SIMPLE(filecheck=CHECK): -target spirv -stage compute -entry main + +// CHECK: undefined identifier + +[shader("compute")] +[numthreads(1, 1, 1)] +void main(uint3 dtid : SV_DispatchThreadID) +{ + const uint index = does_not_exist(); +}
\ No newline at end of file |
