diff options
author | Thom Chiovoloni <thom@shift.click> | 2023-02-11 10:41:21 -0800 |
---|---|---|
committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-04-05 15:59:29 +0000 |
commit | 476737e03c820d9cab7ddbd26de843e833c7a3c8 (patch) | |
tree | 0395e3adffea721c179005e12530bd3646f31184 /tests/assembly | |
parent | 36ca32c1ed817f4621b89409599b0f4c37914685 (diff) | |
download | rust-476737e03c820d9cab7ddbd26de843e833c7a3c8.tar.gz |
Fix an assembly test with a hard-coded hash
Diffstat (limited to 'tests/assembly')
-rw-r--r-- | tests/assembly/asm/global_asm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/assembly/asm/global_asm.rs b/tests/assembly/asm/global_asm.rs index 0b361a7ed96..36f017cf9d6 100644 --- a/tests/assembly/asm/global_asm.rs +++ b/tests/assembly/asm/global_asm.rs @@ -25,9 +25,9 @@ global_asm!("movl ${}, %ecx", const 5, options(att_syntax)); global_asm!("call {}", sym my_func); // CHECK: lea rax, [rip + MY_STATIC] global_asm!("lea rax, [rip + {}]", sym MY_STATIC); -// CHECK: call _RNvCsiubXh4Yz005_10global_asm6foobar +// CHECK: call _RNvCsddMtV7nAi4C_10global_asm6foobar global_asm!("call {}", sym foobar); -// CHECK: _RNvCsiubXh4Yz005_10global_asm6foobar: +// CHECK: _RNvCsddMtV7nAi4C_10global_asm6foobar: fn foobar() { loop {} } |