// PR c++/116064 // { dg-additional-options -fpermissive } template void f() { const int n = 42; ++n; // { dg-warning "read-only" } } template struct A { void f(typename A::type); // { dg-warning "does not name a type" } }; template struct B { void f() { this->g(); // { dg-warning "no member" } } };