summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/gh-4414.slang10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs/gh-4414.slang b/tests/bugs/gh-4414.slang
new file mode 100644
index 000000000..99d537089
--- /dev/null
+++ b/tests/bugs/gh-4414.slang
@@ -0,0 +1,10 @@
+//TEST:SIMPLE(filecheck=CHK):-target hlsl -entry main -stage vertex
+
+void main()
+{
+ int2x2 a;
+ int4 b;
+
+ //CHK-NOT:error 39999: ambiguous call
+ b.zw = mul(a, b.yx);
+}