aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/hello.ll
blob: ea2f9a4cce5d5b6686e8d91e963633f4a97cb2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null

%.LC0 = internal global [12 x sbyte] c"Hello World\00"

implementation

declare int %puts(sbyte*)

int %main() {
        %reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
        ret int 0
}