diff options
Diffstat (limited to 'test/MC/ELF/undef2.s')
-rw-r--r-- | test/MC/ELF/undef2.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ELF/undef2.s b/test/MC/ELF/undef2.s new file mode 100644 index 0000000..9544fbc --- /dev/null +++ b/test/MC/ELF/undef2.s @@ -0,0 +1,10 @@ +// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s + +// Test that this produces an undefined reference to .Lfoo + + je .Lfoo + +// CHECK: ('_symbols', [ +// CHECK: (('st_name', 0x00000001) # '.Lfoo' +// CHECK-NEXT: ('st_bind', 0x00000001) +// CHECK: (('sh_name', 0x00000024) # '.strtab' |