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