summaryrefslogtreecommitdiffstats
path: root/test/Assembler/metadata.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/metadata.ll')
-rw-r--r--test/Assembler/metadata.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/metadata.ll b/test/Assembler/metadata.ll
new file mode 100644
index 0000000..5346d13
--- /dev/null
+++ b/test/Assembler/metadata.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep {ret void, !foo !0}
+define void @test() {
+ ret void, !foo !0
+;, !bar !1
+}
+
+!0 = metadata !{i32 662302, i32 26, metadata !1, null}
+!1 = metadata !{i32 4}