This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Running C test with g++?
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: vogt at linux dot vnet dot ibm dot com, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 15 Jan 2015 12:40:00 +0000
- Subject: Re: Running C test with g++?
- Authentication-results: sourceware.org; auth=none
- References: <20150115123331 dot GA19594 at linux dot vnet dot ibm dot com>
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++" }