mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This reverts commita67a0436f7, reversing changes made to9965df76d0. This commit or the earlier commit this commit is based on (#40531) broke the incremental bot.
11 lines
234 B
Swift
11 lines
234 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-string-processing
|
|
// REQUIRES: libswift
|
|
|
|
var s = 'abc'
|
|
|
|
var s1 = ('*', '+', '?')
|
|
// expected-error@-1 3{{cannot start regex with quantifier}}
|
|
|
|
var s2 = '\w+'
|
|
var s3 = '\'\\'
|