blob: 5e953107686f2ce6ce8c0240d8dbc0217fd0d9ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// run-pass
#![allow(dead_code)]
//
// See also: ui/unsafe/unsafe-fn-called-from-safe.rs
// pretty-expanded FIXME #23616
unsafe fn f() { return; }
unsafe fn g() {
f();
}
pub fn main() {
return;
}
|