Fix an all too common form of the 'Found global types that are not compatible' warning
authorChris Lattner <sabre@nondot.org>
Thu, 20 Nov 2003 21:04:35 +0000 (21:04 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 Nov 2003 21:04:35 +0000 (21:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10122 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll [new file with mode: 0644]

diff --git a/test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll b/test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll
new file mode 100644 (file)
index 0000000..2736a53
--- /dev/null
@@ -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(...)
+