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