mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
12 lines
219 B
Rust
12 lines
219 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
#![allow(dead_code)]
|
|
|
|
unsafe extern fn foo() {}
|
|
unsafe extern "C" fn bar() {}
|
|
|
|
fn main() {
|
|
let _a: unsafe extern fn() = foo;
|
|
let _a: unsafe extern "C" fn() = foo;
|
|
}
|