summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/dtor4.C
blob: 4f277b248bda990075ba4675c488734cd146a680 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/19440
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>

// { dg-do compile }

template<int> struct A
{
  ~A<0>(); // { dg-error "parse error|declaration" }
};