// PR c++/116320 // { dg-do compile { target c++11 } } template struct C; template using C_ptr = C*; struct B { int m; using B_typedef = B; }; template struct C : B { void f(C_ptr c) { c->B::m; c->B_typedef::m; } }; template struct C;