1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/PowerPC/hello.ll
Evan Cheng bbb8e8f7cd PR1399 test case.
llvm-svn: 36957
2007-05-09 19:20:37 +00:00

13 lines
285 B
LLVM

; RUN: llvm-as < %s | llc -march=ppc32
; RUN: llvm-as < %s | llc -march=ppc64
; PR1399
@.str = internal constant [13 x i8] c"Hello World!\00"
define i32 @main() {
%tmp2 = tail call i32 @puts( i8* getelementptr ([13 x i8]* @.str, i32 0, i64 0) )
ret i32 0
}
declare i32 @puts(i8*)