[Bug c++/88184] [9 Regression] ICE on (invalid) C++ code when compiled with -std=c++2a: unexpected expression ‘f<T>’ of kind template_id_expr

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 26 18:38:00 GMT 2018


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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Interesting that on both my computers I see

$ ./cc1plus -quiet 88184.C -std=c++2a
88184.C: In function ‘void g()’:
88184.C:10:12: error: no matching function for call to ‘f<T>()’
   10 |   f < T > ();
      |            ^


(No local patches applied.)


More information about the Gcc-bugs mailing list