blob: b3567e419a232886e5dbce1aaf13b2f4a1b41903 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
// Make sure source ranges satisfy the verifier.
for foo in [1, 2] { // expected-note {{to match this opening '{'}}
var x = foo
// expected-error@+1{{expected '}' at end of brace statement}}