1 2 3 4 5 6 7
// PR c++/60250 // { dg-do compile { target c++1y } } template<typename> void foo() { typedef int T[ ([](){ return 1; }()) ]; // { dg-error "runtime bound" } }