blob: 210726b82775517c40283b0755f23e43603da67c [file] [log] [blame]
// PR c++/85228
// { dg-do compile { target c++17 } }
template<int> struct A
{
enum E { e = []{ return 0; }() };
};
template class A<0>;