fn main() { extern "Rust" { fn foo(); } unsafe { foo(); //~ ERROR: unsupported operation: can't call foreign function: foo } }