diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bugs/gh-3824.slang | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs/gh-3824.slang b/tests/bugs/gh-3824.slang new file mode 100644 index 000000000..1d2d3685f --- /dev/null +++ b/tests/bugs/gh-3824.slang @@ -0,0 +1,20 @@ +//TEST:SIMPLE(filecheck=CHECK):-target spirv -emit-spirv-directly + +// CHECK: OpEntryPoint + +namespace example { + struct Example {} +} + +struct Struct { + example::Example example; +} + +void func(Struct Struct) +{ + // Test parameter name to be the same as type name. +} + +[numthreads(1,1,1)] +void main() +{}
\ No newline at end of file |
