blob: 61354a0425cc010e374ebf7714f338a9fc41f9af [file] [log] [blame]
Rafael Espindola341b8642006-08-04 12:48:42 +00001; RUN: llvm-as < %s | llc -march=arm &&
2; RUN: llvm-as < %s | llc -march=arm | grep mov | wc -l | grep 1
3%str = internal constant [12 x sbyte] c"Hello World\00" ; <[12 x sbyte]*> [#uses=1]
4
5implementation ; Functions:
6
7int %main() {
8entry:
9 %tmp = call int %puts( sbyte* getelementptr ([12 x sbyte]* %str, int 0, uint 0) ) ; <int> [#uses=0]
10 ret int 0
11}
12
13declare int %puts(sbyte*)