1 2 3 4 5 6
// PR c++/59349 // { dg-do compile { target c++1y } } int foo () { [bar()]{}; // { dg-error "empty initializer" } }