mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Standard hello-world test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b1d49b61d
commit
92ae6c23f1
11
test/ExecutionEngine/hello.ll
Normal file
11
test/ExecutionEngine/hello.ll
Normal file
@ -0,0 +1,11 @@
|
||||
%.LC0 = internal global [12 x sbyte] c"Hello World\00"
|
||||
|
||||
implementation
|
||||
|
||||
declare int %puts(sbyte*)
|
||||
|
||||
void %main() {
|
||||
%reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user