mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
e4adeb47ff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5025 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
148 B
LLVM
14 lines
148 B
LLVM
|
|
declare void %exit(int)
|
|
|
|
|
|
void %FP(void(int) * %F) {
|
|
call void %F(int 0)
|
|
ret void
|
|
}
|
|
|
|
int %main() {
|
|
call void %FP(void(int)* %exit)
|
|
ret int 1
|
|
}
|