https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17000
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org --- Comment #12 from Marek Polacek <mpolacek at gcc dot gnu.org> --- We say 17000.C: In member function ‘void b<T>::func()’: 17000.C:10:17: warning: expected ‘template’ keyword before dependent template name [-Wmissing-template-keyword] 10 | get_a().func2 <int>(); | ^~~~~ | template and clang++ says 17000.C:10:17: error: use 'template' keyword to treat 'func2' as a dependent template name 10 | get_a().func2 <int>(); | ^ | template I think we can close this.