[PATCH PING²] Extend the `sentinel' attribute
Kaveh R. GHAZI
ghazi@caip.rutgers.edu
Thu Jun 12 06:38:00 GMT 2008
On Tue, 10 Jun 2008, Joseph S. Myers wrote:
> > Right. However, it would be a C++ test, and I'm not sure whether/how it
> > can be run under `gcc.dg/format' (I tried adding "{ dg-option "-x c++" }"
> > but that doesn't work since "-x c++" appears too late on the command
> > line). Any idea?
>
> Put it in the C++ testsuite. It doesn't need to go under gcc.dg/format.
> Joseph S. Myers
To be specific, try creating a new file named g++.dg/warn/sentinel2.C,
there's already a sentinel.C C++ testcase in that directory.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list