summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-07-22 16:14:07 -0700
committerGitHub <noreply@github.com>2025-07-22 23:14:07 +0000
commit165a95ebb2e9dbdc1b92bdc103470438a5114500 (patch)
tree31318fc5633d5596c5ed3c7c910e690d9fd6ca8f /tests/diagnostics
parent8a36695f1f3abaf98831d4512e74ebd5bce1494e (diff)
Fix visibility of synthesized Differential typedefs. (#7865)
* Fix visibility of synthesized `Differential` typedefs. * Delete incorrect test.
Diffstat (limited to 'tests/diagnostics')
-rw-r--r--tests/diagnostics/internal-visibility/interface-default-visibility.slang14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/diagnostics/internal-visibility/interface-default-visibility.slang b/tests/diagnostics/internal-visibility/interface-default-visibility.slang
deleted file mode 100644
index 79df14143..000000000
--- a/tests/diagnostics/internal-visibility/interface-default-visibility.slang
+++ /dev/null
@@ -1,14 +0,0 @@
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
-
-module m;
-
-public interface IFoo
-{
- void foo(); // Should have public visibility by default.
-}
-
-public struct F : IFoo
-{
- // CHECK:{{.*}}(13): error 30602:
- void foo() {};
-}