Files
rust/tests/ui/abi/invalid-call-abi.rs

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

13 lines
247 B
Rust
Raw Normal View History

2025-06-24 22:29:54 +00:00
// Tests the `"rustc-invalid"` ABI, which is never canonizable.
#![feature(rustc_attrs)]
const extern "rust-invalid" fn foo() {
//~^ ERROR "rust-invalid" is not a supported ABI for the current target
panic!()
}
fn main() {
foo();
}