aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/defaulted30.C
blob: ce86f575777232b538f2815be6fbf29023d84d5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/49507
// { dg-do compile { target c++11 } }

template<typename T>
struct ConcretePoolKey
{
        virtual ~ConcretePoolKey();
};

template<typename T>
ConcretePoolKey<T>::~ConcretePoolKey() = default;

int main()
{
        ConcretePoolKey<int> foo;
}