diff options
Diffstat (limited to 'test/Linker/linknamedmdnode.ll')
-rw-r--r-- | test/Linker/linknamedmdnode.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Linker/linknamedmdnode.ll b/test/Linker/linknamedmdnode.ll new file mode 100644 index 0000000..455b3b8 --- /dev/null +++ b/test/Linker/linknamedmdnode.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s > %t.bc +; RUN: llvm-as < %p/linknamedmdnode2.ll > %t2.bc +; RUN: llvm-link %t.bc %t2.bc | llvm-dis | grep "!llvm.stuff = !{!0, !1}" + +!0 = metadata !{i32 42} +!llvm.stuff = !{!0} |