[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 20 15:05:01 PST 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2003-11-20-BogusResolveWarning.ll added (r1.1)
---
Log message:
Fix an all too common form of the 'Found global types that are not compatible' warning
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll
diff -c /dev/null llvm/test/Regression/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll:1.1
*** /dev/null Thu Nov 20 15:04:45 2003
--- llvm/test/Regression/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll Thu Nov 20 15:04:35 2003
***************
*** 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(...)
+
More information about the llvm-commits
mailing list