mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
16 lines
261 B
LLVM
16 lines
261 B
LLVM
|
; RUN: if as < %s | opt -funcresolve | dis | grep '\.\.\.' | grep call
|
||
|
; RUN: then exit 1
|
||
|
; RUN: else exit 0
|
||
|
; RUN: fi
|
||
|
|
||
|
declare int %foo(...)
|
||
|
|
||
|
int %foo(int %x, float %y) {
|
||
|
ret int %x
|
||
|
}
|
||
|
|
||
|
int %bar() {
|
||
|
%x = call int(...)* %foo(double 12.5, int 48)
|
||
|
ret int %x
|
||
|
}
|