Files
swift-mirror/test/Parse/source_locs.swift
2019-05-20 15:00:54 -07:00

9 lines
318 B
Swift

// Check source locations (only InterpolatedStringLiteral for now).
func string_interpolation() {
"\("abc")"
}
// RUN: %target-swift-frontend -dump-ast %s | %FileCheck %s
// CHECK: (interpolated_string_literal_expr {{.*}} trailing_quote_loc=SOURCE_DIR{{/|\\}}test{{/|\\}}Parse{{/|\\}}source_locs.swift:4:12 {{.*}}