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