Skip to content

Commit efa9586

Browse files
authored
RISC-V ASM test: relax label name constraint.
1 parent 9538d2d commit efa9586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub unsafe fn sym_fn() {
5656
// CHECK-LABEL: sym_static:
5757
// CHECK: #APP
5858
// CHECK: auipc t0, %pcrel_hi(extern_static)
59-
// CHECK: lb t0, %pcrel_lo(.Lpcrel_hi0)(t0)
59+
// CHECK: lb t0, %pcrel_lo(.Lpcrel_hi{{[0-9]+}})(t0)
6060
// CHECK: #NO_APP
6161
#[no_mangle]
6262
pub unsafe fn sym_static() {

0 commit comments

Comments
 (0)