Files
swift-mirror/test/StringProcessing/Parse/regex_parse_error.swift
Arnold Schwaighofer 9511994e52 Revert "Merge pull request #40595 from hamishknight/straw-bales"
This reverts commit a67a0436f7, reversing
changes made to 9965df76d0.

This commit or the earlier commit this commit is based on (#40531) broke the
incremental bot.
2021-12-18 11:02:37 -08:00

8 lines
240 B
Swift

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