mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
9 lines
160 B
LLVM
9 lines
160 B
LLVM
|
; RUN: llvm-as < %s | llc -march=bfin
|
||
|
|
||
|
declare i32 @printf(i8*, ...)
|
||
|
|
||
|
define i32 @main() {
|
||
|
%1 = call i32 (i8*, ...)* @printf(i8* undef, i1 undef)
|
||
|
ret i32 0
|
||
|
}
|