Wreturn-type-3.C   [plain text]


// PR middle-end/19583
// { dg-options "-Wreturn-type -O" }

struct E{};

inline int bar() throw(E)
{
  return 0;
}

void foo ()
{
  bar();
}