Merge from mainline.
[official-gcc.git] / gcc / testsuite / g++.dg / template / dtor4.C
blob6d7cd2343f181704db0e552344c3107d0431a650
1 // PR c++/19440
2 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4 // { dg-do compile }
6 template<int> struct A
8   ~A<0>(); // { dg-error "declaration" }
9 };