diff options
Diffstat (limited to 'test/MC/ELF/size.s')
-rw-r--r-- | test/MC/ELF/size.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ELF/size.s b/test/MC/ELF/size.s new file mode 100644 index 0000000..ceb9486 --- /dev/null +++ b/test/MC/ELF/size.s @@ -0,0 +1,10 @@ +// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s + +// Mostly a test that this doesn't crash anymore. + +// CHECK: # Symbol 0x00000004 +// CHECK-NEXT: (('st_name', 0x00000001) # 'foo' +// CHECK-NEXT: ('st_bind', 0x00000001) + + .size foo, .Lbar-foo + .long foo |