https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86060

Christophe Lyon <clyon at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clyon at gcc dot gnu.org

--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> ---
Hi,
With the patch, I can see that
FAIL: g++.dg/cpp0x/range-for9.C  -std=c++98

The log contains:
/gcc/testsuite/g++.dg/cpp0x/range-for9.C: In function 'void test()':
/gcc/testsuite/g++.dg/cpp0x/range-for9.C:8:18: error: range-based 'for' loops
only available with -std=c++11 or -std=gnu++11
/gcc/testsuite/g++.dg/cpp0x/range-for9.C:8:18: error: forming reference to
reference type 'int (&)[3]'
compiler exited with status 1
PASS: g++.dg/cpp0x/range-for9.C  -std=c++98  (test for errors, line 8)
FAIL: g++.dg/cpp0x/range-for9.C  -std=c++98 (test for excess errors)

Reply via email to