Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/constexpr-lambda21.C

raw
1 // PR c++/85228
2 // { dg-do compile { target c++17 } }
3
4 template<int> struct A
5 {
6 enum E { e = []{ return 0; }() };
7 };
8
9 template class A<0>;