summaryrefslogtreecommitdiff
path: root/tests/projects/swift/cross_modules/src
diff options
context:
space:
mode:
authorruki <[email protected]>2023-07-10 23:18:47 +0800
committerruki <[email protected]>2023-07-10 23:18:47 +0800
commite0cc53f53a0e40bd0cf3b4bbd0ca032627e981ae (patch)
treefe397ea4be1283b2c9f6119db06d111e468ac123 /tests/projects/swift/cross_modules/src
parentb3627c504fb1c65f829f92c5cd709b23a6776895 (diff)
support multiple modules
Diffstat (limited to 'tests/projects/swift/cross_modules/src')
-rw-r--r--tests/projects/swift/cross_modules/src/A.swift4
-rw-r--r--tests/projects/swift/cross_modules/src/main.swift2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/projects/swift/cross_modules/src/A.swift b/tests/projects/swift/cross_modules/src/A.swift
new file mode 100644
index 000000000..746d33dcd
--- /dev/null
+++ b/tests/projects/swift/cross_modules/src/A.swift
@@ -0,0 +1,4 @@
+
+func test() {
+ print("xxxxx")
+}
diff --git a/tests/projects/swift/cross_modules/src/main.swift b/tests/projects/swift/cross_modules/src/main.swift
new file mode 100644
index 000000000..93f0bf310
--- /dev/null
+++ b/tests/projects/swift/cross_modules/src/main.swift
@@ -0,0 +1,2 @@
+
+test()