OSDN Git Service

PR c++/15947
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / dtor4.C
1 // { dg-do compile }
2 // Contributed by Paul Koning <pkoning at equallogic dot com>
3 // PR c++/15947: Accept destructor as template in qualified-id
4
5 template <int N> struct X {
6   ~X();
7 };
8
9 template <int N>
10 X<N>::~X<N>(){}