mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 22:12:57 +02:00
563ba88392
llvm-svn: 8558
13 lines
237 B
LLVM
13 lines
237 B
LLVM
; RUN: llvm-as < %s | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
|
|
|
|
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
|
|
}
|