16 lines · plain
1; RUN: llvm-as < %s | llvm-dis > %t1.ll2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll3; RUN: diff %t1.ll %t2.ll4 5@.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 16 7define void @foo() #0 {8entry:9 %call = call i32 (ptr, ...) @printf(ptr @.str)10 ret void11}12 13declare i32 @printf(ptr, ...)14 15attributes #0 = { nounwind ssp uwtable }16