llvm-6502/test/ExecutionEngine/simplesttest.ll
Chris Lattner 00af117381 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-04 17:00:25 +00:00

20 lines
260 B
LLVM

%X = global int 7
%msg = internal global [13 x sbyte] c"Hello World\0D\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
}