[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 23 15:01:02 PDT 2003
Changes in directory llvm/test/Regression/Transforms/FunctionResolve:
2003-08-23-ArgumentWarning.ll added (r1.1)
---
Log message:
new testcase: we warn if we are merging together two functions whose argument
types to not match, but we should not warn unless their _primitive_ types mismatch
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll
diff -c /dev/null llvm/test/Regression/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll:1.1
*** /dev/null Sat Aug 23 15:00:06 2003
--- llvm/test/Regression/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll Sat Aug 23 14:59:55 2003
***************
*** 0 ****
--- 1,12 ----
+ ; RUN: as < %s | opt -funcresolve -disable-output 2>&1 | not grep WARNING
+
+ declare int %foo(int *%X)
+ declare int %foo(float *%X)
+
+ implementation
+
+ void %test() {
+ call int %foo(int* null)
+ call int %foo(float* null)
+ ret void
+ }
More information about the llvm-commits
mailing list