This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why C++ tests in C testsuite?
Neil Booth <neil@daikokuya.co.uk> writes:
> Andreas Jaeger wrote:-
>
>> Since C++ is broken, I did a C only bootstrap and noticed these three
>> failures:
>>
>> Running /cvs/gcc/gcc/testsuite/gcc.dg/cpp/cpp.exp ...
>> FAIL: gcc.dg/cpp/c++98-pedantic.C (test for warnings, line 9)
>> FAIL: gcc.dg/cpp/c++98-pedantic.C (test for excess errors)
>> FAIL: gcc.dg/cpp/c++98.C (test for excess errors)
>>
>> All three tests are C++ tests. Why are they in the C testsuite? I
>> propose to move them to the C++ testsuite. What do others think?
>
> They're in the CPP testsuite. Would you create a subdirectory in cpp/
> for C++ tests and move them there?
And how will they get invoked? I thought of moving them to g++.dg/cpp.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj