OSDN Git Service

PR c++/28878
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / eh / catch3.C
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>();