mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
13 lines
230 B
LLVM
13 lines
230 B
LLVM
|
; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
|
||
|
|
||
|
declare int %foo(int *%X)
|
||
|
declare int %foo(float *%X)
|
||
|
|
||
|
implementation
|
||
|
|
||
|
void %test() {
|
||
|
call int %foo(int* null)
|
||
|
call int %foo(float* null)
|
||
|
ret void
|
||
|
}
|