https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16233
Tobias Schlüter <tobi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2015-09-18 00:00:00 |2021-07-14 0:00 CC| |tobi at gcc dot gnu.org --- Comment #11 from Tobias Schlüter <tobi at gcc dot gnu.org> --- With the current trunk we still get the same message save for the carets (https://godbolt.org/z/sWb7MbTWr) <source>: In member function 'void B<V>::Bar(V*)': <source>:6:16: error: expected primary-expression before 'int' 6 | v->Foo<int>(); | ^~~ <source>:6:16: error: expected ';' before 'int' Compiler returned: 1