mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7 lines
229 B
Swift
7 lines
229 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
// Make sure source ranges satisfy the verifier.
|
|
for foo in [1, 2] { // expected-note {{to match this opening '{'}}
|
|
_ = foo
|
|
// expected-error@+1{{expected '}' at end of brace statement}}
|