mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 23:12:55 +01:00
d34a40864a
Makefile to run ad-hoc tests easily. llvm-svn: 15664
10 lines
223 B
LLVM
10 lines
223 B
LLVM
%.str_1 = internal constant [7 x sbyte] c"hello\0A\00"
|
|
|
|
declare int %printf(sbyte*, ...)
|
|
|
|
int %main() {
|
|
%s = getelementptr [7 x sbyte]* %.str_1, long 0, long 0
|
|
call int (sbyte*, ...)* %printf(sbyte* %s)
|
|
ret int 0
|
|
}
|