Rebase.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / lambda / lambda-eh3.C
blob10dc6e36d2bb1e6da61423e9bcae634fb4d8d1f7
1 // PR c++/56388
2 // { dg-require-effective-target c++11 }
4 int main()
6     bool /*const*/ condition = false;
8     [&]{
9         try{}
10         catch(...){
11             if(condition){}
12         }
13     }();