mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When enabling the early swift driver on Windows, these tests need to be adjusted for the new driver name that is reported. Add an additional spelling for the driver to accommodate that for the testsuite.
11 lines
351 B
Swift
11 lines
351 B
Swift
// RUN: %target-swiftc_driver -enable-bare-slash-regex -disallow-use-new-driver -driver-print-jobs %s 2>^1 | %FileCheck %s
|
|
// The new driver has its own test for this
|
|
|
|
// REQUIRES: cplusplus_driver
|
|
|
|
// CHECK: {{.*}}swift{{c|c-legacy-driver|-frontend}}{{(.exe)?"?}} -frontend{{.*}}-enable-bare-slash-regex
|
|
|
|
public func foo() -> Int {
|
|
return 42
|
|
}
|