2 // This test was ICEing in C++11 mode.
3 // { dg-do compile { target c++11 } }
4 // { dg-skip-if "requires hosted libstdc++ for functional function" { ! hostedlib } }
8 using F = std::function<void(void)>;
23 X::f([](auto... xs){}); // { dg-error "" "" { target { ! c++14 } } }