Modify the LLVM assembly output so that it uses references to represent function...
[oota-llvm.git] / test / Feature / attributes.ll
1 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
2 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3 ; RUN: diff %t1.ll %t2.ll
4
5 @.str = private unnamed_addr constant [14 x i8] c"hello world!\0A\00", align 1
6
7 define void @foo() #0 {
8 entry:
9   %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([14 x i8]* @.str, i32 0, i32 0))
10   ret void
11 }
12
13 declare i32 @printf(i8*, ...)
14
15 attributes #0 = { nounwind ssp uwtable }