blob: 076ddd91ab0f2d9c8737a4095d52445f88b2e106 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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();
}
|