File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: split-file %s %t
3
3
4
- // RUN: %target-swift-frontend -target armv7em-none-none-eabi - enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleA.swift -o %t/MyModuleA.o -emit-module -emit-module-path %t/MyModuleA.swiftmodule -emit-empty-object-file
5
- // RUN: %target-swift-frontend -target armv7em-none-none-eabi - enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleB.swift -o %t/MyModuleB.o -emit-module -emit-module-path %t/MyModuleB.swiftmodule -emit-empty-object-file
6
- // RUN: %target-swift-frontend -target armv7em-none-none-eabi - enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleC.swift -o %t/MyModuleC.o -emit-module -emit-module-path %t/MyModuleC.swiftmodule -emit-empty-object-file
7
- // RUN: %target-swift-frontend -target armv7em-none-none-eabi - enable-experimental-feature Embedded -c -I%t %t/Main.swift -o %t/Main.o
4
+ // RUN: %target-swift-frontend -enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleA.swift -o %t/MyModuleA.o -emit-module -emit-module-path %t/MyModuleA.swiftmodule -emit-empty-object-file
5
+ // RUN: %target-swift-frontend -enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleB.swift -o %t/MyModuleB.o -emit-module -emit-module-path %t/MyModuleB.swiftmodule -emit-empty-object-file
6
+ // RUN: %target-swift-frontend -enable-experimental-feature Embedded -c -I%t -parse-as-library %t/MyModuleC.swift -o %t/MyModuleC.o -emit-module -emit-module-path %t/MyModuleC.swiftmodule -emit-empty-object-file
7
+ // RUN: %target-swift-frontend -enable-experimental-feature Embedded -c -I%t %t/Main.swift -o %t/Main.o
8
8
// RUN: %target-clang %t/Main.o %t/MyModuleA.o %t/MyModuleB.o %t/MyModuleC.o -o %t/a.out
9
+ // RUN: %target-run %t/a.out
9
10
10
11
// REQUIRES: swift_in_compiler
12
+ // REQUIRES: executable_test
11
13
// REQUIRES: OS=macosx || OS=linux-gnu
12
- // REQUIRES: CODEGENERATOR=ARM
13
- // REQUIRES: embedded_stdlib_cross_compiling
14
14
15
15
//--- MyModuleA.swift
16
16
You can’t perform that action at this time.
0 commit comments