File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -132,3 +132,6 @@ _ = #"""
132
132
]
133
133
"""#
134
134
// CHECK: "[\n {\n \"id\": \"12345\",\n \"title\": \"A title that \\\"contains\\\" \\\\\\\"\"\n }\n]"
135
+
136
+ _ = #"# #"#
137
+ // CHECK: "# #"
Original file line number Diff line number Diff line change @@ -16,3 +16,9 @@ let _ = ###"invalid"######
16
16
// expected-error@-1{{too many '#' characters in closing delimiter}}{{24-27=}}
17
17
// expected-error@-2{{consecutive statements on a line must be separated by ';'}}
18
18
// expected-error@-3{{expected expression}}
19
+
20
+ let _ = ##"""##
21
+ foobar
22
+ ##"""##
23
+ // expected-error@-3{{multi-line string literal content must begin on a new line}}{{14-14=\n}}
24
+ // expected-error@-2{{multi-line string literal closing delimiter must begin on a new line}}{{5-5=\n}}
You can’t perform that action at this time.
0 commit comments