aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/lambda-targ17.C
blob: 84955aede3e881ccb5a8419b3f4e2257388f2eaf (plain)
1
2
3
4
5
6
7
8
// PR c++/12012
// { dg-do compile { target c++20 } }

template<auto> int x;

int main() {
	x<[](auto) {}>;
}