summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/defaulted32.C
blob: 351cdae11023853236e63cbcba19afe1e62250b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// PR c++/50531
// { dg-options -std=c++0x }

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)
{}