File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-typecheck-verify-swift
2
2
3
3
#"\##("invalid")"#
4
- // expected-error@-1{{Too many # characters in delimited escape}}
4
+ // expected-error@-1{{too many '#' characters in delimited escape}}
5
+ // expected-error@-2{{invalid escape sequence in literal}}
5
6
6
7
####"invalid"###
7
8
// expected-error@-1{{unterminated string literal}}
8
9
9
10
###"invalid"####
10
- // expected-error@-1{{consecutive statements on a line must be separated by ';'}}
11
- // expected-error@-2{{expected expression}}
11
+ // expected-error@-1{{too many '#' characters in closing delimiter}}
12
+ // expected-error@-2{{consecutive statements on a line must be separated by ';'}}
13
+ // expected-error@-3{{expected expression}}
14
+ // expected-warning@-4{{string literal is unused}}
You can’t perform that action at this time.
0 commit comments