This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49917] g++.dg/init/for1.C wrong?
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 30 Jul 2011 20:06:35 +0000
- Subject: [Bug c++/49917] g++.dg/init/for1.C wrong?
- Auto-submitted: auto-generated
- References: <bug-49917-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49917
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-07-30 20:06:34 UTC ---
Looks like the test should a dg-do run (not implicitly a dg-do compile!) and
then changed to assign if i != 2, right? Then I believe it would work as a
regression test for c++/13865.