Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/lambda-targ1.C

raw
1 // PR c++/103807
2 // { dg-do compile { target c++20 } }
3
4 template<auto = +[]{}>
5 struct A { };
6
7 A x;
8
9 int main() {
10 A y;
11 }