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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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