aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-29 22:34:41 +0000
committerDevang Patel <dpatel@apple.com>2009-07-29 22:34:41 +0000
commitaa993142518648c1ffa61e7f52ff6d3a95d413fb (patch)
tree66b8db375a3310bedc27056dba65816ed7d9ac26 /test
parentdebcb01b0f0a15f568ca69e8f288fade4bfc7297 (diff)
downloadexternal_llvm-aa993142518648c1ffa61e7f52ff6d3a95d413fb.zip
external_llvm-aa993142518648c1ffa61e7f52ff6d3a95d413fb.tar.gz
external_llvm-aa993142518648c1ffa61e7f52ff6d3a95d413fb.tar.bz2
Read and write NamedMDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Feature/NamedMDNode.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Feature/NamedMDNode.ll b/test/Feature/NamedMDNode.ll
new file mode 100644
index 0000000..56fc349
--- /dev/null
+++ b/test/Feature/NamedMDNode.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llvm-dis | grep "llvm.stuff = "
+
+;; Simple NamedMDNode
+!0 = metadata !{i32 42}
+!1 = metadata !{metadata !"foo"}
+!llvm.stuff = !{!0, !1}