mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
New testcase that crashes the funcresolve pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbe48dcaec
commit
62a4b839a6
@ -0,0 +1,11 @@
|
|||||||
|
; RUN: as < %s | opt -funcresolve -disable-output
|
||||||
|
|
||||||
|
void %foo(int, int) {
|
||||||
|
ret void
|
||||||
|
}
|
||||||
|
declare void %foo(...)
|
||||||
|
|
||||||
|
void %test() {
|
||||||
|
call void(...)* %foo(int 7)
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user