[Bug c++/96474] Internal compiler error with template struct inside template struct

lhlaurini at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 5 13:55:58 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96474

--- Comment #2 from Luiz Henrique Laurini <lhlaurini at hotmail dot com> ---
(In reply to Marek Polacek from comment #1)
> The ICE started with r278298.  Before that:
> 
> 96474.C:11:15: error: class template argument deduction failed:
>    11 |     A<int>::B x;
>       |               ^
> 96474.C:11:15: error: no matching function for call to ‘B()’

Yes, sorry, forgot to add that error. Compiles fine with Clang though. I don't
see why it shouldn't.


More information about the Gcc-bugs mailing list