https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51817
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> --- I think this is the expected behavior. Note that current clang and EDG behave exactly the same, reject the testcase with an error at line 12. Maybe Jason can help me completing the triage of this?