[Bug c++/59729] [DR1732] C++11 allows type definitions in conditions and for-range-declarations, but shouldn't
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri May 12 17:05:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59729
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
In 7.1.0 a proper error is emitted for the code in Comment 1. To be safe I'm
adding the testcase and closing the bug.
More information about the Gcc-bugs
mailing list