mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
If llvm-targets-to-build doesn't include AArch64, then this test fails unhelpfully because architecture-specific flags are missing.
6 lines
335 B
Swift
6 lines
335 B
Swift
// REQUIRES: CPU=arm64
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target aarch64-unknown-linux-android -c %s -parse-stdlib -module-name Swift -emit-module -emit-module-path %t/Swift.swiftmodule
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -O -target aarch64-unknown-linux-android21 -c %s -I %t
|
|
|