OSDN Git Service

PR c++/29363
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / error43.C
1 // PR c++/29363
2
3 template<int> void foo()
4 {
5   throw A();                    // { dg-message "declar" }
6   struct A {} a;
7 }
8
9 template void foo<0>();         // { dg-message "instantiated" }