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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
clang gives:
<source>:7:8: error: member reference base type 'int' is not a structure or
union
    T().waldo();
    ~~~^~~~~~
<source>:11:10: note: in instantiation of member function 'C<int>::f' requested
here
  C<int> obj;
         ^

Which is definitely better.

Reply via email to