blob: e5b94b6351bbd8c1277a5d8e3fd7ba49fbc0b8df [file] [log] [blame]
// PR c++/50531
// { dg-do compile { target c++11 } }
template <typename T>
class DataFilter
{
public:
inline virtual ~DataFilter();
};
template<typename T>
inline DataFilter<T>::~DataFilter() = default;
class ARCalculator : public DataFilter<ARCalculator>
{
public:
virtual void dataStart(int, int);
};
void ARCalculator::dataStart(int, int)
{}