llvm.org GIT mirror llvm / 34ab6d6
PR1399 test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36957 91177308-0d34-0410-b5e6-96231b3b80d8 Evan Cheng 13 years ago
1 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc -march=ppc32
1 ; RUN: llvm-as < %s | llc -march=ppc64
2 ; PR1399
3
4 @.str = internal constant [13 x i8] c"Hello World!\00"
5
6 define i32 @main() {
7 %tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8]* @.str, i32 0, i64 0) )
8 ret i32 0
9 }
10
11 declare i32 @puts(i8*)