Sign in
fuchsia
/
third_party
/
rust
/
a5a7ed63488ebc6d7b1af575972f1f81136b1a72
/
.
/
src
/
test
/
ui
/
typeck-closure-to-unsafe-fn-ptr.rs
blob: 2530a1e966d0a8a59e3b1d4ade2acea6fa9dea3a [
file
] [
log
] [
blame
]
// run-pass
unsafe
fn
call_unsafe
(
func
:
unsafe
fn
()
->
())
->
()
{
func
()
}
pub
fn
main
()
{
unsafe
{
call_unsafe
(||
{});
}
}