mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
PR1399 test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9fbc5b247c
commit
34ab6d68f5
12
test/CodeGen/PowerPC/hello.ll
Normal file
12
test/CodeGen/PowerPC/hello.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; 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*)
|
Loading…
x
Reference in New Issue
Block a user