[cfe-commits] "make test" fails for several Objective C files

Ted Kremenek kremenek at apple.com
Wed Oct 17 13:04:20 PDT 2007


I'm getting the following test failures for "make test" (latest  
version of clang & llvm).  Should I be expecting these to fail right  
now?

(kremenek at grue:clang)$ make test
cd test; make
<SNIP>
Sema/DoubleMethod.m
******************** TEST 'Sema/DoubleMethod.m' FAILED!  
********************
Command:
  clang -fsyntax-only -verify Sema/DoubleMethod.m
Output:
Errors expected but not seen:
   Line 13: previous declaration is here
   Line 14: duplicate declaration of method 'method'
******************** TEST 'Sema/DoubleMethod.m' FAILED!  
********************
Sema/alias-test-1.m
Sema/alias-test-2.m
Sema/arg-duplicate.c
Sema/arg-invalid.c
Sema/argument-checking.m
******************** TEST 'Sema/argument-checking.m' FAILED!  
********************
Command:
  clang -fsyntax-only -verify Sema/argument-checking.m
Output:
Errors expected but not seen:
   Line 23: incompatible types passing 'int' to method expecting  
'struct S'
   Line 24: incompatible types passing 'int' to method expecting  
'struct S'
Errors seen but not expected:
   Line 9: cannot find definition of 'id'
   Line 11: cannot find definition of 'id'
   Line 12: cannot find definition of 'id'
   Line 16: use of undeclared identifier 'id'
   Line 22: use of undeclared identifier 'obj'
   Line 22: expected expression
   Line 23: use of undeclared identifier 'obj'
   Line 23: expected expression
   Line 24: use of undeclared identifier 'obj'
   Line 24: expected expression
Warnings expected but not seen:
   Line 22: incompatible types passing 'int' to method expecting 'char  
*'
******************** TEST 'Sema/argument-checking.m' FAILED!  
********************
...
(other errors omitted which look like crashes).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20071017/51945907/attachment.html>


More information about the cfe-commits mailing list