2018-02-14 09:26:56 -06:00
|
|
|
// This test makes sure that we detect changed feature gates.
|
|
|
|
|
|
|
|
//@ revisions:rpass1 cfail2
|
|
|
|
//@ compile-flags: -Z query-dep-graph
|
|
|
|
|
|
|
|
#![feature(rustc_attrs)]
|
2019-04-22 02:40:08 -05:00
|
|
|
#![cfg_attr(rpass1, feature(abi_unadjusted))]
|
2018-02-14 09:26:56 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|
2019-04-22 02:40:08 -05:00
|
|
|
|
|
|
|
extern "unadjusted" fn foo() {}
|
|
|
|
//[cfail2]~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable
|