Files
swift-mirror/test/StringProcessing/Parse/regex_parse_end_of_buffer.swift
Hamish Knight 63b8db1659 Start using '-enable-bare-slash-regex'
Change the flag to imply
'-enable-experimental-string-processing', and
and update some tests to start using it.
2022-04-12 16:03:47 +01:00

6 lines
227 B
Swift

// RUN: %target-typecheck-verify-swift -enable-bare-slash-regex
// REQUIRES: swift_in_compiler
// Note there is purposefully no trailing newline here.
// expected-error@+1 {{unterminated regex literal}}
var unterminated = #/xy