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.
paolo.carlini at oracle dot com Fri, 12 May 2017 10:00:06 -0700
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.