// { dg-do run } // { dg-options "-w" } // Test to make sure that implicit typename doesn't break name binding rules. typedef double A; template class B { typedef char A; }; template struct X : B { A a; }; int main() { X x; return sizeof (x.a) != sizeof (double); }