URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [crash4.C] - Rev 693
Compare with Previous | Blame | View Log
/* { dg-do compile } */
/* { dg-options "-O" } */
class ios_base {
public:
virtual ~ios_base();
};
template<typename _CharT>
class basic_ostream : virtual public ios_base {
public:
virtual ~basic_ostream() { }
};
extern template class basic_ostream<char>;
template <typename _CharT>
class basic_ostringstream : public basic_ostream<_CharT> { };
template class basic_ostringstream<char>;