mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +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.
6 lines
146 B
Swift
6 lines
146 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
// NOTE: DO NOT add a newline at EOF.
|
|
// expected-error@+1 {{unterminated string literal}}
|
|
_ = """
|
|
foo |