Fix an all too common form of the 'Found global types that are not compatible' warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-11-20 21:04:35 +00:00
parent 5f36ebeb70
commit 0ac5af08dc

View File

@ -0,0 +1,10 @@
; RUN: llvm-as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
void %test() {
call int(...)* %test()
ret void
}
declare int %test(...)