1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/Regression/ExecutionEngine/hello.ll

15 lines
289 B
LLVM
Raw Normal View History

2004-11-07 00:32:43 +01:00
; RUN: llvm-as -f %s -o %t.bc
; RUN: lli %t.bc > /dev/null
%.LC0 = internal global [12 x sbyte] c"Hello World\00"
implementation
declare int %puts(sbyte*)
2002-12-13 07:57:24 +01:00
int %main() {
%reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
2002-12-13 07:57:24 +01:00
ret int 0
}