mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
in string interpolation in multiline string literal.
"""
\("<-this is unterminated.
"""
In this case, the outer multiline literal should form 'tok::unknown'
along with a error message.
10 lines
182 B
Swift
10 lines
182 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
// expected-error@+4 {{unterminated string literal}}
|
|
// expected-error@+1 {{unterminated string literal}}
|
|
_ = """
|
|
foo
|
|
\("bar
|
|
baz
|
|
|