re PR c++/19439 (Duplicate destructor accepted)
PR c++/19439
* class.c (add_method): Don't wait until template
instantiation time to complain about duplicate methods.
* g++.dg/template/duplicate1.C: New test
* g++.dg/template/memfriend6.C: Adjust error markers.
From-SVN: r120520
Showing
gcc/testsuite/g++.dg/template/duplicate1.C
0 → 100644
Please
register
or
sign in
to comment