// PR c++/58568 // { dg-do compile { target c++11 } } template struct A { static const int i; template const int A::i = []{ return 0; }(); // { dg-error "invalid use" } };