Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/nontype-class56.C

raw
1 // PR c++/97700
2 // { dg-do compile { target c++20 } }
3
4 struct S { void (*f)(); };
5
6 template<S> struct X { };
7
8 X<S{[]{}}> x;