]> git.lizzy.rs Git - rust.git/blob - tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / ui / invalid-compile-flags / branch-protection-missing-pac-ret.rs
1 // revisions: BADFLAGS BADTARGET
2 // [BADFLAGS] compile-flags: --target=aarch64-unknown-linux-gnu -Zbranch-protection=leaf
3 // [BADFLAGS] check-fail
4 // [BADFLAGS] needs-llvm-components: aarch64
5 // [BADTARGET] compile-flags: --target=x86_64-unknown-linux-gnu -Zbranch-protection=bti
6 // [BADTARGET] check-fail
7 // [BADTARGET] needs-llvm-components: x86
8
9 #![crate_type = "lib"]
10 #![feature(no_core, lang_items)]
11 #![no_core]
12
13 #[lang="sized"]
14 trait Sized { }