rust/tests/ui/abi/abi-typo-unstable.rs
2023-01-11 09:32:08 +00:00

7 lines
192 B
Rust

// 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();
}