diff options
author | Devang Patel <dpatel@apple.com> | 2009-07-29 22:34:41 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-07-29 22:34:41 +0000 |
commit | aa993142518648c1ffa61e7f52ff6d3a95d413fb (patch) | |
tree | 66b8db375a3310bedc27056dba65816ed7d9ac26 /test | |
parent | debcb01b0f0a15f568ca69e8f288fade4bfc7297 (diff) | |
download | external_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.ll | 6 |
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} |