File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,14 @@ _ = ##"""
68
68
"""##
69
69
// CHECK: "a raw string with \"\"\" in it"
70
70
71
- _ = #"""#
72
- // CHECK: "\""
71
+ // ===---------- False Multiline Delimiters --------===
72
+
73
+ /// Source code contains zero-width character in this format `#"[U+200B]"[U+200B]"#`
74
+ /// The check contains the zero-width character in this format: `"[U+200B]\"[U+200B]"`
75
+ /// Use this test when implementating `diagnoseZeroWidthMatchAndAdvance`.
76
+ /// See https://bugs.swift.org/browse/SR-8678
77
+ _ = #"""#
78
+ // CHECK: "\""
73
79
74
80
_ = #""""#
75
81
// CHECK: "\"\""
@@ -80,6 +86,9 @@ _ = #"""""#
80
86
_ = #""""""#
81
87
// CHECK: "\"\"\"\""
82
88
89
+ _ = #"""#
90
+ // CHECK: "\""
91
+
83
92
_ = ##""" foo # "# "##
84
93
// CHECK: "\"\" foo # \"# "
85
94
You can’t perform that action at this time.
0 commit comments