Skip to content

Commit 9ae5e95

Browse files
committed
Fix test
1 parent 178c1bb commit 9ae5e95

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/test/assembly/asm/aarch64-types.rs

+11-10
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,17 @@ pub unsafe fn sym_static() {
9696
asm!("adr x0, {}", sym extern_static);
9797
}
9898

99+
// Regression test for #75761
100+
// CHECK-LABEL: issue_75761:
101+
// CHECK: str {{.*}}x30
102+
// CHECK: //APP
103+
// CHECK: //NO_APP
104+
// CHECK: ldr {{.*}}x30
105+
#[no_mangle]
106+
pub unsafe fn issue_75761() {
107+
asm!("", out("v0") _, out("x30") _);
108+
}
109+
99110
macro_rules! check {
100111
($func:ident $ty:ident $class:ident $mov:literal $modifier:literal) => {
101112
#[no_mangle]
@@ -553,13 +564,3 @@ check_reg!(v0_f32x4 f32x4 "s0" "fmov");
553564
// CHECK: fmov s0, s0
554565
// CHECK: //NO_APP
555566
check_reg!(v0_f64x2 f64x2 "s0" "fmov");
556-
557-
// Regression test for #75761
558-
// CHECK-LABEL: issue_75761:
559-
// CHECK: stp {{{.*}}}lr
560-
// CHECK: //APP
561-
// CHECK: //NO_APP
562-
// CHECK: ldp {{{.*}}}lr
563-
pub unsafe fn issue_75761() {
564-
asm!("", out("v0") _, out("x30") _);
565-
}

0 commit comments

Comments
 (0)