summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-6488-where-lookup.slang11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs/gh-6488-where-lookup.slang b/tests/bugs/gh-6488-where-lookup.slang
new file mode 100644
index 000000000..118a69bbe
--- /dev/null
+++ b/tests/bugs/gh-6488-where-lookup.slang
@@ -0,0 +1,11 @@
+//TEST:SIMPLE(filecheck=CHECK): -target spirv
+
+// CHECK: OpEntryPoint
+
+interface IRealArray<T : __BuiltinFloatingPointType, int D> {}
+extension<T : __BuiltinFloatingPointType, int D> vector<T, D> : IRealArray<T, D> where T.Differential : __BuiltinFloatingPointType { }
+
+
+[numthreads(1,1,1)]
+void main()
+{} \ No newline at end of file