This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ testcase question: pointers to member functions
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 8 Feb 2005 16:14:22 -0800
- Subject: C++ testcase question: pointers to member functions
Can someone who understands C++ pointers to member functions please
take a look at this?
g++.old-deja/g++.mike/p10769a.C is a "run" test that fails to compile
due to errors that the test claims are bogus. PR 10769 was for an ICE.
The test was introduced 1997-08-19, comments that the errors are bogus
were added 1998-10-19, and the PR was closed 2003-05-14.
If the errors are indeed bogus then this needs a new PR to track the
problem. C++ has changed a lot, though, so if the errors are now
expected then this ought to be changed to a "compile" test, with
dg-bogus replaced by dg-error and the expected text. Fixing the test
will get rid of the following annoying message in all test summaries:
WARNING: g++.old-deja/g++.mike/p10769a.C compilation failed to produce
executable
Janis