File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ class DeclExportabilityVisitor
150150 }
151151 UNREACHABLE (Module);
152152 UNREACHABLE (TopLevelCode);
153- UNREACHABLE (PoundDiagnostic);
154153 UNREACHABLE (Missing);
155154 UNREACHABLE (MissingMember);
156155 UNREACHABLE (GenericTypeParam);
@@ -168,6 +167,7 @@ class DeclExportabilityVisitor
168167 bool visit##KIND##Decl(const KIND##Decl *D) { return true ; }
169168 UNINTERESTING (IfConfig);
170169 UNINTERESTING (Import);
170+ UNINTERESTING (PoundDiagnostic);
171171 UNINTERESTING (PrecedenceGroup);
172172 UNINTERESTING (EnumCase);
173173 UNINTERESTING (Operator);
Original file line number Diff line number Diff line change 44
55import Swift
66
7+ #warning("!")
8+
79// CHECK-NO-SKIP: sil_global private @$s4Test17internalGlobalVar_Wz : $Builtin.Word
810// CHECK-SKIP-NOT: s4Test17internalGlobalVar_Wz
911
You can’t perform that action at this time.
0 commit comments