https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48324
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo.carlini at oracle dot com
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I suppose we can close this as fixed: we warn about returning a reference to a
temporary at line 9 and then we error out at line 12 about the size not being
an integral constant expression. Likewise clang.
Jason, shall I add the testcase and close the bug?