[Bug c++/58590] Hidden typename not ill-formed
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 12 18:38:01 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58590
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #11 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The original test is still rejected:
58590.C:9:31: error: static assertion failed
9 | static_assert(sizeof(f<S>(0)) == 2, "");
| ~~~~~~~~~~~~~~~~^~~~
More information about the Gcc-bugs
mailing list