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

llvm-svn: 10122
This commit is contained in:
Chris Lattner 2003-11-20 21:04:35 +00:00
parent 5eac2d6615
commit 4eb18ce26d
1 changed files with 10 additions and 0 deletions

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(...)