[cfe-dev] Fairly new test failures...
steve naroff
snaroff at apple.com
Tue Aug 19 06:16:02 PDT 2008
Folks,
I'm seeing 4 regressions when running the clang test suite (1 for C, 1
for ObjC, and 2 for C++). Since C++ isn't being used for "real" work,
I'm less concerned about them.
Is anyone looking into the C/ObjC regressions?
Thanks,
snaroff
******************** TEST 'Sema/array-init.c' FAILED!
********************
Command:
clang -fsyntax-only -verify -pedantic Sema/array-init.c
Incorrect Output:
Errors seen but not expected:
Line 161: at least one initializer value required to size array
Warnings expected but not seen:
Line 161: zero size arrays are an extension
******************** TEST 'Sema/array-init.c' FAILED!
********************
******************** TEST 'SemaObjC/interface-1.m' FAILED!
********************
Command:
clang SemaObjC/interface-1.m -fsyntax-only -verify
Incorrect Output:
Warnings expected but not seen:
Line 23: array of interface 'INT1' should probably be an array of
pointers
******************** TEST 'SemaObjC/interface-1.m' FAILED!
********************
******************** TEST 'Parser/cxx-casting.cpp' FAILED!
********************
Command:
clang -fsyntax-only Parser/cxx-casting.cpp
Incorrect Output:
Parser/cxx-casting.cpp:35:3: warning: incompatible pointer to integer
conversion returning 'char *', expected 'char'
return reinterpret_cast<char*>(0xdeadbeef)[0];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Parser/cxx-casting.cpp:35:45: error: expected ';' after return statement
return reinterpret_cast<char*>(0xdeadbeef)[0];
^
2 diagnostics generated.
******************** TEST 'Parser/cxx-casting.cpp' FAILED!
********************
******************** TEST 'SemaCXX/wchar_t.cpp' FAILED!
********************
Command:
clang -fsyntax-only -pedantic -verify SemaCXX/wchar_t.cpp
Incorrect Output:
Errors seen but not expected:
Line 8: cannot modify value of type 'wchar_t'
******************** TEST 'SemaCXX/wchar_t.cpp' FAILED!
********************
More information about the cfe-dev
mailing list