Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / eh / spec8.C
blob7a35e6e807217d969a08e855b78d83f89b18542d
1 // PR c++/24817
3 struct exception {};
5 template <typename T> void foo() throw(exception); // { dg-error "declaration" }
6 template <typename T> void foo(); // { dg-error "exceptions" }
8 struct bar
10   template <typename T> friend void foo(); // { dg-error "exceptions" }