llvm-mirror/test/Regression/ExecutionEngine/hello2.ll
Chris Lattner de27290f6b Genericize tests
llvm-svn: 10091
2003-11-19 19:44:28 +00:00

20 lines
260 B
LLVM

%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
}