Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
abi
/
invalid-call-abi.rs
blob: 076ddd91ab0f2d9c8737a4095d52445f88b2e106 [
file
] [
log
] [
blame
]
// 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
();
}