OSDN Git Service

PR c++/51401
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / defaulted30.C
1 // PR c++/49507
2 // { dg-options -std=c++0x }
3
4 template<typename T>
5 struct ConcretePoolKey
6 {
7         virtual ~ConcretePoolKey();
8 };
9
10 template<typename T>
11 ConcretePoolKey<T>::~ConcretePoolKey() = default;
12
13 int main()
14 {
15         ConcretePoolKey<int> foo;
16 }