diff options
Diffstat (limited to 'tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs')
| -rw-r--r-- | tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs b/tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs index 1d7ec5cba17..c0a4bcac11b 100644 --- a/tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs +++ b/tests/ui/invalid-compile-flags/branch-protection-missing-pac-ret.rs @@ -1,10 +1,10 @@ -// revisions: BADFLAGS BADTARGET -// [BADFLAGS] compile-flags: --target=aarch64-unknown-linux-gnu -Zbranch-protection=leaf -// [BADFLAGS] check-fail -// [BADFLAGS] needs-llvm-components: aarch64 -// [BADTARGET] compile-flags: --target=x86_64-unknown-linux-gnu -Zbranch-protection=bti -// [BADTARGET] check-fail -// [BADTARGET] needs-llvm-components: x86 +//@ revisions: BADFLAGS BADTARGET +//@ [BADFLAGS] compile-flags: --target=aarch64-unknown-linux-gnu -Zbranch-protection=leaf +//@ [BADFLAGS] check-fail +//@ [BADFLAGS] needs-llvm-components: aarch64 +//@ [BADTARGET] compile-flags: --target=x86_64-unknown-linux-gnu -Zbranch-protection=bti +//@ [BADTARGET] check-fail +//@ [BADTARGET] needs-llvm-components: x86 #![crate_type = "lib"] #![feature(no_core, lang_items)] |
