1// PR c++/49298 2 3template <class T, int T::*> struct B { }; 4template <class T> struct A 5{ 6 int i; 7 B<A,&A::i> b; 8}; 9