From: No Author Date: Mon, 22 Dec 2003 06:14:43 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch X-Git-Tag: releases/gcc-3.3.3~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c44c0a0e541a9e36c94515707516ce4f5a24fcf;p=thirdparty%2Fgcc.git This commit was manufactured by cvs2svn to create branch 'gcc-3_3-branch'. From-SVN: r74927 --- diff --git a/gcc/testsuite/g++.dg/warn/ctor-init-1.C b/gcc/testsuite/g++.dg/warn/ctor-init-1.C new file mode 100644 index 000000000000..0796972fcb50 --- /dev/null +++ b/gcc/testsuite/g++.dg/warn/ctor-init-1.C @@ -0,0 +1,9 @@ +// PR c++/11554 +// { dg-options "-Wall" } + +struct Y { + Y (); + int i1, i2; // { dg-warning "" } +}; + +Y::Y () : i2(0), i1(0) {} // { dg-warning "" }