1 // This test makes sure that we detect changed feature gates.
3 // revisions:rpass1 cfail2
4 // compile-flags: -Z query-dep-graph
6 #![feature(rustc_attrs)]
7 #![cfg_attr(rpass1, feature(abi_unadjusted))]
12 extern "unadjusted" fn foo() {}
13 //[cfail2]~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable