mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The `-force-single-frontend-invocation` flag predates WMO and is now an alias for `-whole-module-optimization`. We should use the latter and let the former fade into history.
8 lines
307 B
Swift
8 lines
307 B
Swift
// RUN: %swiftc_driver_plain -v 2>&1 | %FileCheck %s
|
|
// RUN: %swiftc_driver_plain -v -whole-module-optimization 2>&1 | %FileCheck %s
|
|
// RUN: not %swiftc_driver_plain -emit-executable 2>&1 | %FileCheck --check-prefix=CHECK-ERROR %s
|
|
|
|
// CHECK-NOT: error: no input files
|
|
|
|
// CHECK-ERROR: error: no input files
|