%X = global int 7
%msg = internal global [13 x sbyte] c"Hello World\0A\00"


implementation

declare void %printf([13 x sbyte]*)

void %bar() {
  call void %printf([13 x sbyte]* %msg)
  ret void 
}

void %main() {
        call void %bar()
        ret void
}



Return 0 to make it into a fully-functioning "Hello, World!" test case.
%X = global int 7
%msg = internal global [13 x sbyte] c"Hello World\0A\00"


implementation

declare void %printf([13 x sbyte]*)

void %bar() {
  call void %printf([13 x sbyte]* %msg)
  ret void 
}

int %main() {
        call void %bar()
        ret int 0
}