]> git.lizzy.rs Git - rust.git/blob - tests/ui/target-feature/tied-features-cli.rs
Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast, r...
[rust.git] / tests / ui / target-feature / tied-features-cli.rs
1 // revisions: one two three
2 // compile-flags: --crate-type=rlib --target=aarch64-unknown-linux-gnu
3 // needs-llvm-components: aarch64
4 //
5 //
6 // [one] check-fail
7 // [one] compile-flags: -C target-feature=+paca
8 // [two] check-fail
9 // [two] compile-flags: -C target-feature=-pacg,+pacg
10 // [three] check-fail
11 // [three] compile-flags: -C target-feature=+paca,+pacg,-paca
12 // [four] build-pass
13 // [four] compile-flags: -C target-feature=-paca,+pacg -C target-feature=+paca
14 #![feature(no_core, lang_items)]
15 #![no_core]
16
17 #[lang="sized"]
18 trait Sized {}
19
20 fn main() {}