blob: 2f11c1369d80dc20a0b7aac0d01a6a16b06d695d [file] [log] [blame]
// 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;
}