blob: 17d15688b2dc3218872b8ce488d93753e95fe9a3 [file]
// This test makes sure that we detect changed feature gates.
//@ revisions: rpass1 bfail2
//@ compile-flags: -Z query-dep-graph
#![feature(rustc_attrs)]
#![cfg_attr(rpass1, feature(abi_unadjusted))]
fn main() {
}
extern "unadjusted" fn foo() {}
//[bfail2]~^ ERROR: "unadjusted" ABI is an implementation detail and perma-unstable