pedantic2.C: New testcase.

2007-03-29  Dirk Mueller  <dmueller@suse.de>

        * g++.dg/warn/pedantic2.C: New testcase.

From-SVN: r123345
This commit is contained in:
Dirk Mueller 2007-03-29 22:38:13 +00:00 committed by Dirk Mueller
parent da489f7340
commit 39e6a37797
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-03-29 Dirk Mueller <dmueller@suse.de>
* g++.dg/warn/pedantic2.C: New testcase.
2007-03-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* size_dim.f90: Fix dg directive.

View File

@ -0,0 +1,6 @@
// { dg-options "-pedantic" }
class foo
{
foo() {}; // { dg-error "extra" }
};