2 // compile-flags: --crate-type=rlib --target=aarch64-unknown-linux-gnu
3 // needs-llvm-components: aarch64
4 #![feature(no_core, lang_items)]
10 // FIXME: this should not need to be public.
12 #[target_feature(enable = "pacg")]
13 //~^ ERROR must all be either enabled or disabled together
24 #[target_feature(enable = "paca")]
25 //~^ ERROR must all be either enabled or disabled together
29 #[target_feature(enable = "paca,pacg")]
32 #[target_feature(enable = "paca")]
33 #[target_feature(enable = "pacg")]