aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/warn/Wreturn-type-3.C
blob: f13d58745cafde1fbe81994940778ef25e7a96a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR middle-end/19583
// { dg-options "-Wreturn-type -O" }

struct E{};

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

void foo ()
{
  bar();
}