Skip to content

Commit d37fd2f

Browse files
author
David Ungar
committed
Revised test.
1 parent e64ebad commit d37fd2f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

test/Parse/interpolated_trailing_quote.swift

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/Parse/source_locs.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Check source locations (only InterpolatedStringLiteral for now).
2+
3+
func string_interpolation() {
4+
"\("abc")"
5+
}
6+
7+
// RUN: %target-swift-frontend -dump-ast %s | %FileCheck %s
8+
// CHECK: (interpolated_string_literal_expr {{.*}} trailing_quote_loc=SOURCE_DIR/test/Parse/source_locs.swift:4:12 {{.*}}

0 commit comments

Comments
 (0)