Debian Codegraph @

gcc/testsuite/g++.dg/eh/catch3.C

raw
1 // PR c++/28250
2 // { dg-do compile }
3
4 template<int> void foo()
5 {
6 try {}
7 catch () {} // { dg-error "type-specifier" }
8 }
9
10 template void foo<0>();