Debian Codegraph @

gcc/testsuite/g++.dg/DRs/dr2237-5.C

raw
1 // PR c++/97202
2 // { dg-options "" }
3
4 template<typename Base> struct S : Base {
5 inline S<Base>() {} // { dg-warning "template-id not allowed for constructor" "" { target c++20 } }
6 inline ~S<Base>() {} // { dg-warning "template-id not allowed for destructor" "" { target c++20 } }
7 };