mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It is a maintenance burden and having the legacy driver exist in a simplified state reduces the possibility of things going wrong and hitting old bugs.
7 lines
352 B
Swift
7 lines
352 B
Swift
// RUN: %empty-directory(%t)
|
|
|
|
// RUN: %swiftc_driver -whole-module-optimization %S/../Inputs/empty.swift -### 2>&1 | %FileCheck -check-prefix WMO %s
|
|
// WMO-NOT: -primary-file
|
|
// RUN: %swiftc_driver -whole-module-optimization -no-whole-module-optimization %S/../Inputs/empty.swift -### 2>&1 | %FileCheck -check-prefix NO-WMO %s
|
|
// NO-WMO: -primary-file
|