aboutsummaryrefslogtreecommitdiff
path: root/test/Feature
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-13 19:42:44 +0000
committerDan Gohman <gohman@apple.com>2010-07-13 19:42:44 +0000
commit9dc8ae110f4b23df8f42fe6a09087061938a06a7 (patch)
treedbe0db20356aa3b25d1b57be952ab28668dd69cf /test/Feature
parent186eb73845c29547cc837341f0c8c0f6d9284e67 (diff)
Add support for empty named metadata too. This isn't particularly
useful, but it is nice for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/metadata.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Feature/metadata.ll b/test/Feature/metadata.ll
index b34c947df4..d43815be46 100644
--- a/test/Feature/metadata.ll
+++ b/test/Feature/metadata.ll
@@ -9,6 +9,7 @@ define void @foo() {
declare void @llvm.zonk(metadata, i64, metadata) nounwind readnone
!named = !{!0}
+!another_named = !{}
!0 = metadata !{i8** null}
!1 = metadata !{i8* null, metadata !2}
!2 = metadata !{}