1 // { dg-do compile { target c++11 } } 2 // { dg-options "-pedantic" } 3 4 template <typename> class S {}; 5 extern template class S<int>; 6