This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running C test with g++?


On 15 January 2015 at 12:33, Dominik Vogt wrote:
> I have a target specific tests for C in
> gcc/testsuite/gcc.target/s390 and would like to make sure that it
> also runs with g++.  Is there a way to execute the C tests with
> g++?

Would copying the test to a new file and adding this work?

// { dg-options "-x c++" }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]