rust/tests/ui/abi/abi-typo-unstable.rs

7 lines
192 B
Rust
Raw Normal View History

// rust-intrinsic is unstable and not enabled, so it should not be suggested as a fix
extern "rust-intrinsec" fn rust_intrinsic() {} //~ ERROR invalid ABI
fn main() {
rust_intrinsic();
}