1 // { dg-do assemble } 2 // Origin: Leon Bottou <leonb@research.att.com> 3 4 class AA { protected: BBBB5 template <class T> struct BB { T x; BB(const T &x) : x(x) { } }; CCCC6 template <class T> struct CC : public BB<T> { CC(const T &x) : BB<T>(x) { } 7 }; 8 }; 9