diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bugs/gh-666.slang | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/gh-666.slang b/tests/bugs/gh-666.slang new file mode 100644 index 000000000..fa46d1de7 --- /dev/null +++ b/tests/bugs/gh-666.slang @@ -0,0 +1,11 @@ +// gh-666.slang + +//TEST:COMPARE_HLSL:-no-mangle -profile ps_5_0 -entry main + +static const uint foo = 1; +static const uint bar = foo; + +float4 main() : SV_TARGET +{ + return bar; +} |
