mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In cmake, rename LIBSWIFT_BUILD_MODE to BOOTSTRAPPING_MODE. Also, rename the lit feature "libswift" to "swift_in_compiler".
11 lines
235 B
Swift
11 lines
235 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-string-processing
|
|
// REQUIRES: swift_in_compiler
|
|
|
|
_ = '/abc/'
|
|
|
|
_ = ('/[*/', '/+]/', '/.]/')
|
|
// expected-error@-1 {{cannot parse regular expression}}
|
|
|
|
_ = '/\w+/'
|
|
_ = '/\'\\/'
|