Sign in
fuchsia
/
third_party
/
swift
/
f0b10427e3ec291ffd449ff18212ff36dda6ab50
/
.
/
validation-test
/
stdlib
/
AssertDiagnosticsSIL.swift
blob: f715b55bb8a0678855e7492194c7e3378e49bae0 [
file
] [
log
] [
blame
]
// RUN: %target-swift-frontend %s -emit-sil -verify
func assertionFailure_isNotNoreturn
()
->
Int
{
assertionFailure
(
""
)
}
// expected-error {{missing return in a function expected to return 'Int'}}