// Test to make sure that implicit typename doesn't break name binding rules. // Special g++ Options: -w 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); }