blob: 3daf8fcfdfc69a4a74a469a34b2f626553aea9ec [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
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}}