OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / error36.C
1 // PR c++/37719.C
2
3 template <typename T>
4 class foo {
5     void bar() throw(int); // { dg-error "throw \\(int\\)" }
6 };
7
8 template <>
9 void foo<int>::bar() throw(float) {} // { dg-error "throw \\(float\\)" }