Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
[oota-llvm.git] / test / CodeGen / ARM / hello.ll
1 ; RUN: llvm-as < %s | llc -march=arm &&
2 ; RUN: llvm-as < %s | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 &&
3 ; RUN: llvm-as < %s | llc -mtriple=arm-linux --disable-fp-elim | grep mov | wc -l | grep 2
4 ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep mov | wc -l | grep 2
5
6 @str = internal constant [12 x i8] c"Hello World\00"
7
8 define i32 @main() {
9         %tmp = call i32 @puts( i8* getelementptr ([12 x i8]* @str, i32 0, i64 0) )              ; <i32> [#uses=0]
10         ret i32 0
11 }
12
13 declare i32 @puts(i8*)