1 // { dg-do assemble } 2 // Testcase for instantiation with cv-qualified type 3 4 template<class T> 5 struct A 6 { 7 void foo(); 8 }; 9 foo()10 template<class T> void A<T>::foo() { } 11 12 template class A<const int>; 13