blob: b6037fd42a5fa49d516daa8c98b314986233dd30 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift -D BLAH
func foo() { // expected-note {{to match this opening '{'}}
if true {
} else { // expected-note {{to match this opening '{'}}
#if BLAH
// expected-error@+3{{expected '}' at end of brace statement}}
// expected-error@+2{{expected '}' at end of brace statement}}
// expected-error@+1{{expected #else or #endif at end of conditional compilation block}}