summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr87185.C
blob: 46dae0eec0ff00cbf61d8bb0711671cf73306d7e (plain)
1
2
3
4
// PR c++/87185
// { dg-do compile { target c++11 } }

void f() { const int i=0; [&]() noexcept {i;}; }