[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / eh / catch2.C
blob33db946490a63f1c3ccc8f1308d5e7d7ec25befb
1 // PR c++/28250
2 // { dg-do compile }
4 void foo()
6   try {}
7   catch () {}  // { dg-error "before" }
8   catch (...) {}