1 /* { dg-do compile } */
2 /* { dg-options "-O" } */
8 template<typename _CharT>
9 class basic_ostream : virtual public ios_base {
11 virtual ~basic_ostream() { }
13 extern template class basic_ostream<char>;
14 template <typename _CharT>
15 class basic_ostringstream : public basic_ostream<_CharT> { };
16 template class basic_ostringstream<char>;