1 // { dg-do assemble } 2 // Gosh, this works! 3 4 template<class T> 5 struct A 6 { 7 struct B 8 { 9 void bar(); 10 }; 11 struct C { }; 12 }; 13 bar()14 template<class T> void A<T>::B::bar() { } 15 16 template class A<int>; 17