1 // { dg-do assemble } 2 // GROUPS passed templates 3 // g++-2.2.1: member functions returning a template type 4 5 6 template <class T> struct list { }; 7 8 struct A 9 { 10 list<int> L; 11 12 list<int> get_list(); 13 14 }; 15 16 get_list()17 list<int> A::get_list() { return L; } 18