Sign in
fuchsia
/
third_party
/
swift
/
5cf3785e4ba062c102aee0ae28762e6c2603d688
/
.
/
validation-test
/
compiler_crashers_2_fixed
/
0148-rdar35773761.swift
blob: effe05a0d1a01557acb6c4c18665bf6a2f2826bd [
file
] [
log
] [
blame
]
// RUN: %target-typecheck-verify-swift %s
let
b
:
()
->
Void
=
withoutActuallyEscaping
({
print
(
"hello crash"
)
},
do
:
{
$0
()
})
// expected-error@-1 {{cannot convert value of type '()' to specified type '() -> Void'}}