rust/tests/ui/feature-gates/feature-gate-abi_unadjusted.rs
2023-01-11 09:32:08 +00:00

8 lines
133 B
Rust

extern "unadjusted" fn foo() {
//~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable
}
fn main() {
foo();
}