Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
unsafe-fn-called-from-unsafe-blk.rs
blob: 38271cc3c78b509dee1ec70f9b16f2e798c86697 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
//
// See also: compile-fail/unsafe-fn-called-from-safe.rs
// pretty-expanded FIXME #23616
unsafe
fn
f
()
{
return
;
}
fn
g
()
{
unsafe
{
f
();
}
}
pub
fn
main
()
{
}