diff options
Diffstat (limited to 'tests/bugs')
| -rw-r--r-- | tests/bugs/gh-3802.slang | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/gh-3802.slang b/tests/bugs/gh-3802.slang new file mode 100644 index 000000000..7b09592f3 --- /dev/null +++ b/tests/bugs/gh-3802.slang @@ -0,0 +1,11 @@ +//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly + +namespace foo::bar::baz {} +namespace foo::bar {} // <- leaving this out "fixes" the issue + +// CHECK: OpEntryPoint + +[shader("compute")] +[numthreads(1, 1, 1)] +void computeMain() +{}
\ No newline at end of file |
