1 // { dg-do assemble } 2 // prms-id: 10951 3 m1(const int & a)4inline int m1(const int& a) { 5 return 1; 6 } 7 8 template <class T> 9 class A { 10 public: 11 typedef int st; 12 m2t()13 static int m2t() { 14 return m1(1); 15 } 16 }; 17 18 A<int>::st i; m3()19int m3() { 20 return A<int>::m2t(); 21 } 22