1// { dg-do assemble } 2// Origin: "Artem Hodyush" <artem@duma.gov.ru> 3 4struct B { int m; }; 5 6template< class T > 7void 8q( T& t ) { 9 t.T::m=1; 10} 11 12void f() { 13 B b; 14 b.B::m=1; 15 q( b ); 16} 17