// PR c++/11725 // { dg-options "-Wreturn-type" } template struct A { int foo() { throw "Stop"; } };