summaryrefslogtreecommitdiff
path: root/test/Linker/metadata-b.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/metadata-b.ll')
-rw-r--r--test/Linker/metadata-b.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Linker/metadata-b.ll b/test/Linker/metadata-b.ll
new file mode 100644
index 0000000000..ef0270af07
--- /dev/null
+++ b/test/Linker/metadata-b.ll
@@ -0,0 +1,9 @@
+; This file is for use with metadata-a.ll
+; RUN: true
+
+define void @goo(i32 %b) nounwind {
+entry:
+ ret void, !attach !0, !and !{ i32 %b }
+}
+
+!0 = metadata !{i32 524334, void (i32)* @goo}