Files
swift-mirror/test/StringProcessing/Parse/regex_parse_error.swift
Erik Eckstein 3d33f11e6c cmake/build-script: rename the libswift option to "bootstrapping"
In cmake, rename LIBSWIFT_BUILD_MODE to BOOTSTRAPPING_MODE.
Also, rename the lit feature "libswift" to "swift_in_compiler".
2021-12-22 11:31:52 +01:00

8 lines
253 B
Swift

// RUN: %target-typecheck-verify-swift -enable-experimental-string-processing
// REQUIRES: swift_in_compiler
let s = '/\\/''/ // expected-error {{unterminated regex literal}}
// expected-error@+1 {{unterminated regex literal}}
var unterminated = '/xy