1 2 3
// { dg-do compile { target c++11 } } auto l = []() [[noreturn]] {}; // { dg-warning "does not apply to types" }