blob: ea2f9a4cce5d5b6686e8d91e963633f4a97cb2f3 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2; RUN: lli %t.bc > /dev/null
3
4%.LC0 = internal global [12 x sbyte] c"Hello World\00"
5
6implementation
7
8declare int %puts(sbyte*)
9
10int %main() {
11 %reg210 = call int %puts( sbyte* getelementptr ([12 x sbyte]* %.LC0, long 0, long 0) )
12 ret int 0
13}
14