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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [defaulted33.C] - Rev 693

Compare with Previous | Blame | View Log

// PR c++/50973
// { dg-do compile { target c++11 } }

class HD
{
  public:
  virtual ~HD() {};
};
class InputHD : public virtual HD
{
};
class OutputHD : public virtual HD
{
};
class IOHD : public InputHD, public OutputHD
{
};
template <typename T, unsigned int N>
class ArrayNHD : public IOHD
{
  public:
  ~ArrayNHD() = default;
};
class TLText
{
  ~TLText();
  ArrayNHD<int, 1>* m_argsHD;
};
TLText::~TLText()
{
  delete m_argsHD;
}

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.