rust/tests/ui/feature-gates/feature-gate-abi_unadjusted.rs

8 lines
133 B
Rust
Raw Normal View History

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