1 // PR c++/50531 2 // { dg-do compile { target c++11 } } 3 4 template <typename T> 5 class DataFilter 6 { 7 public: 8 inline virtual ~DataFilter(); 9 }; 10 11 template<typename T> 12 inline DataFilter<T>::~DataFilter() = default; 13 14 class ARCalculator : public DataFilter<ARCalculator> 15 { 16 public: 17 virtual void dataStart(int, int); 18 }; 19 dataStart(int,int)20void ARCalculator::dataStart(int, int) 21 {} 22