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;
|
|
}
|