Add another test that now passes.

llvm-svn: 115137
This commit is contained in:
Rafael Espindola 2010-09-30 04:22:07 +00:00
parent 689651c767
commit 9d98ac645e
1 changed files with 10 additions and 0 deletions

10
llvm/test/MC/ELF/undef2.s Normal file
View File

@ -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', 1) # '.Lfoo'
// CHECK-NEXT: ('st_bind', 1)
// CHECK: (('sh_name', 36) # '.strtab'