We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353656d commit 40da49cCopy full SHA for 40da49c
test/SIL/import-decls.sil
@@ -0,0 +1,19 @@
1
+// RUN: %empty-directory(%t)
2
+// RUN: touch %t/empty.swift
3
+// RUN: %target-swift-frontend -emit-module -module-name TestModule %t/empty.swift -o %t
4
+// RUN: %target-sil-opt %s -I=%t | %FileCheck %s
5
+
6
+sil_stage raw
7
8
+import Builtin
9
+import Swift
10
11
+import TestModule
12
13
+func foo() {}
14
15
+// CHECK: import Builtin
16
+// CHECK: import Swift
17
+// CHECK-NOT: import Builtin
18
+// CHECK-NOT: import Swift{{$}}
19
+// CHECK: import TestModule
test/sil-opt/import-decls.sil
0 commit comments