summaryrefslogtreecommitdiff
path: root/test/MC/ELF/relax-arith.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/relax-arith.s')
-rw-r--r--test/MC/ELF/relax-arith.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/ELF/relax-arith.s b/test/MC/ELF/relax-arith.s
index d4f37a9ddf9f5..15e44ebff7ef6 100644
--- a/test/MC/ELF/relax-arith.s
+++ b/test/MC/ELF/relax-arith.s
@@ -115,3 +115,11 @@ bar:
cmpl $foo, bar
cmp $foo, %rbx
cmpq $foo, bar
+
+// CHECK: Disassembly of section push:
+// CHECK-NEXT: push:
+// CHECK-NEXT: 0: 66 68 00 00 pushw $0
+// CHECK-NEXT: 4: 68 00 00 00 00 pushq $0
+ .section push,"x"
+ pushw $foo
+ push $foo