Add another test that now passes.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Sep 2010 04:22:07 +0000 (04:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Sep 2010 04:22:07 +0000 (04:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115137 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/ELF/undef2.s [new file with mode: 0644]

diff --git a/test/MC/ELF/undef2.s b/test/MC/ELF/undef2.s
new file mode 100644 (file)
index 0000000..764f1d7
--- /dev/null
@@ -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'