mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previous spelling could easily be mistaken for gating the entire feature. Part of rdar://91119995
11 lines
335 B
Swift
11 lines
335 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|-frontend}}{{(.exe)?"?}} -frontend{{.*}}-enable-bare-slash-regex
|
|
|
|
public func foo() -> Int {
|
|
return 42
|
|
}
|