mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
b68d769c01
llvm-svn: 4931
20 lines
260 B
LLVM
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
|
|
}
|
|
|