Files
swift-mirror/test/Parse/brace_recovery_eof.swift
2017-01-24 22:53:21 -05:00

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}}