1 // Testcase for implicit 'typename' and resolution of 'typename's in the
22 struct base_trait<float> {
27 class weird : public base_trait<T>::base {
29 typedef typename base_trait<T>::base base;
39 typename weird<T>::base weird<T>::f ()
44 // The standard does not allow this case; the `typename' keyword may
45 // not appear in a ptr-operator.
48 int typename weird<T>::base::* weird<T>::g ()
55 return z.zowee() || z.f().bar();