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:
parent
da489f7340
commit
39e6a37797
|
@ -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.
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
// { dg-options "-pedantic" }
|
||||
|
||||
class foo
|
||||
{
|
||||
foo() {}; // { dg-error "extra" }
|
||||
};
|
Loading…
Reference in New Issue