1// PR c++/11116 2 3template <typename T> struct S {}; 4 5void f() { 6 throw S (); // { dg-error "template" } 7} 8