1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis 2 ; PR7105 3 4 define void @foo(i32 %x) { 5 call void @llvm.zonk(metadata !1, i64 0, metadata !1) 6 store i32 0, i32* null, !whatever !0, !whatever_else !{}, !more !{metadata !"hello"} 7 store i32 0, i32* null, !whatever !{i32 %x, metadata !"hello", metadata !1, metadata !{}, metadata !2} 8 ret void, !whatever !{i32 %x} 9 } 10 11 declare void @llvm.zonk(metadata, i64, metadata) nounwind readnone 12 13 !named = !{!0} 14 !another_named = !{} 15 !0 = metadata !{i8** null} 16 !1 = metadata !{i8* null, metadata !2} 17 !2 = metadata !{} 18