[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / eh / catch1.C
blob730218011ff7cbc7053b859b25dceecb0d7b0fb5
1 // PR c++/28250
2 // { dg-do compile }
4 template<int> void foo()
6   try {}
7   catch (int(0)) {}  // { dg-error "before" }