summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-11-13 04:51:02 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-11-13 04:51:02 +0000
commite13a0ff8ac6c86a04397801061e1a702d4e0eab1 (patch)
tree6e2b67b072a4e5ea2749610572b739b071c31e0a /test
parentce8ca9ab0cc42be4f2ff5ed5d349eac5c90f9b04 (diff)
downloadllvm-e13a0ff8ac6c86a04397801061e1a702d4e0eab1.tar.gz
llvm-e13a0ff8ac6c86a04397801061e1a702d4e0eab1.tar.bz2
llvm-e13a0ff8ac6c86a04397801061e1a702d4e0eab1.tar.xz
Parse and record the gnu_unique_object type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ELF/type.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/ELF/type.s b/test/MC/ELF/type.s
index 8738433de6..a2d07878ea 100644
--- a/test/MC/ELF/type.s
+++ b/test/MC/ELF/type.s
@@ -9,6 +9,9 @@ foo:
.type bar,@object
bar:
+// Test that gnu_unique_object is accepted.
+ .type zed,@gnu_unique_object
+
// CHECK: # Symbol 0x00000004
// CHECK-NEXT: (('st_name', 0x00000005) # 'bar'
// CHECK-NEXT: ('st_bind', 0x00000001)