Debian Codegraph @

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

raw
1 // PR c++/97202
2 // { dg-options "" }
3
4 template<typename T>
5 struct F
6 {
7 F<T>(); // { dg-warning "template-id not allowed for constructor" "" { target c++20 } }
8 };
9
10 template<typename T>
11 inline F<T>::F() { }