Sign in
fuchsia
/
third_party
/
swift
/
a62ebd9650c2de5ce8174d0b16a3894e974235f2
/
.
/
test
/
stmt
/
if_unexpected_else.swift
blob: 1fd190f46659e827c673a3a2e652fec0837315db [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift
if
true
else
{
// expected-error {{unexpected 'else' immediately following 'if' condition}}
}
// expected-note@-1 {{remove 'else' to execute the braced block of statements when the condition is true}}