$ clang test.cpp -o test.exe
test.cpp:10:14: warning: use of identifier 'f' found via unqualified lookup into dependent bases of class templates is a Microsoft extension [-Wmicrosoft-template]
void g() { f(); }
^
this->
test.cpp:15:5: note: in instantiation of member function 'Container<char>::g' requested here
c.g();
^
test.cpp:5:8: note: must qualify identifier to find this declaration in dependent base class
void f() { printf("private Base::f()\n"); }
^
1 warning generated.
$ test.exe
private Base::f()
Extended Description
The following code shouldn't compile (method
f
is private).