Simple hand-coded tests to aid in early development of backends, along with a
[oota-llvm.git] / test / CodeGen / Generic / hello.ll
1 %.str_1 = internal constant [7 x sbyte] c"hello\0A\00"
2
3 declare int %printf(sbyte*, ...)
4
5 int %main() {  
6   %s = getelementptr [7 x sbyte]* %.str_1, long 0, long 0
7   call int (sbyte*, ...)* %printf(sbyte* %s)
8   ret int 0
9 }