Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / eh2.C
blob8ec767d39334130069a0e5f44064c0dcf971faaf
1 // PR c++/23191
2 // Origin: Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
3 // { dg-do compile }
5 template<typename T> struct A
7     void foo() throw(typename T::X);  // { dg-error "not a class" }
8 };
10 A<void> a;                            // { dg-error "instantiated" }