mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
01b75e20f2
to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui.
18 lines
209 B
Rust
18 lines
209 B
Rust
// 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;
|
|
}
|