pr29585.C   [plain text]


/* { dg-do compile } */
/* { dg-options "-O2 -w" } */

class ios_base{};
struct basic_ostream : virtual ios_base{};
namespace
{
  struct Nullostream : basic_ostream{};
}
class  In
{
  In ();
  Nullostream  nullout;
};
In::In (){}