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