Debian Codegraph @

gcc/testsuite/g++.dg/parse/dtor12.C

raw
1 // PR c++/29408
2
3 template <class T> class a
4 {
5 ~a<T>(); // { dg-error "template-id not allowed for destructor" "" { target c++20 } }
6 };