C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / g++.dg / pr87185.C
blob46dae0eec0ff00cbf61d8bb0711671cf73306d7e
1 // PR c++/87185
2 // { dg-do compile { target c++11 } }
4 void f() { const int i=0; [&]() noexcept {i;}; }