Debian Codegraph @

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

raw
1 // PR c++/122318
2 // { dg-do compile { target c++20 } }
3
4 template<class T, auto V>
5 struct A {
6 A() { }
7 A(T) { }
8 };
9
10 template<class T>
11 using AT = A<T, []{}>;
12
13 AT<int> a;
14 AT b = a;