mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
14 lines
157 B
LLVM
14 lines
157 B
LLVM
|
int %bar(int %x) {
|
||
|
ret int 0
|
||
|
}
|
||
|
|
||
|
int %foo(int %x) {
|
||
|
%q = call int %bar(int 1)
|
||
|
ret int %q
|
||
|
}
|
||
|
|
||
|
int %main() {
|
||
|
%r = call int %foo(int 2)
|
||
|
ret int %r
|
||
|
}
|