File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -717,13 +717,15 @@ final class DeclarationTests: XCTestCase {
717
717
AssertParse (
718
718
"""
719
719
struct S {
720
- 1️⃣/ 2️⃣## #line 25 " line-directive.swift "
720
+ 1️⃣/ 2️⃣#3️⃣#4️⃣ #line 5️⃣25 " line-directive.swift "
721
721
}
722
722
""" ,
723
723
diagnostics: [
724
724
DiagnosticSpec ( locationMarker: " 1️⃣ " , message: " expected 'func' in function " ) ,
725
725
DiagnosticSpec ( locationMarker: " 2️⃣ " , message: " expected parameter clause in function signature " ) ,
726
- DiagnosticSpec ( locationMarker: " 2️⃣ " , message: #"unexpected code '###line 25 "line-directive.swift"' in struct"# )
726
+ DiagnosticSpec ( locationMarker: " 3️⃣ " , message: " expected identifier in pound literal declaration " ) ,
727
+ DiagnosticSpec ( locationMarker: " 4️⃣ " , message: " expected identifier in pound literal declaration " ) ,
728
+ DiagnosticSpec ( locationMarker: " 5️⃣ " , message: #"unexpected code '25 "line-directive.swift"' in struct"# )
727
729
]
728
730
)
729
731
}
You can’t perform that action at this time.
0 commit comments