summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-07-10 21:14:16 -0700
committerGitHub <noreply@github.com>2025-07-11 04:14:16 +0000
commit90c34e3db4fdc7be79c62bd91905a2a84bbd673e (patch)
treea8ccf3c2dbfe5f1faa646bf91e41d9a12a66c804 /tests/bugs
parent7764b83d24d341334ca7c1693cae2472be8f8d99 (diff)
Ensure generic constraints are checked before inner extension. (#7685)
* Ensure generic constraints are checked before inner extension. * Add warning for non-standard generic extension. * Fix tests. * Fix test. * Ban interface types from equality constraints. * Fix.
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/gh-5140.slang2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/gh-5140.slang b/tests/bugs/gh-5140.slang
index 23d9b3a23..bf18b04a6 100644
--- a/tests/bugs/gh-5140.slang
+++ b/tests/bugs/gh-5140.slang
@@ -3,6 +3,8 @@
//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
+#pragma warning(disable:30856)
+
public interface A<T: IFloat>
{
}