OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [ctors3.C] - Rev 699

Compare with Previous | Blame | View Log

// { dg-do assemble  }
// GROUPS passed constructors
// ctor file
// Message-Id: <m0oxRi1-0002fPC@nesmith.pactitle.com>
// From: genehi@nesmith.pactitle.com (Gene Hightower)
// Subject: Apparent bug in g++ 2.5.2
// Date: Wed, 10 Nov 93 18:24 PST

class One {
  public:
    One() {}
};

template<class T> class Two : public One {
};

class Three {
};

class Four  {
    Two<Three>  x[1];
};

class Five {
    Four        y;

  public:
    Five() {}
};

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.