rust/src/test/run-pass/unsafe-fn-called-from-unsafe-fn.rs
2012-08-01 19:16:06 -07:00

14 lines
157 B
Rust

// -*- rust -*-
//
// See also: compile-fail/unsafe-fn-called-from-safe.rs
unsafe fn f() { return; }
unsafe fn g() {
f();
}
fn main() {
return;
}