Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / warn / Wreturn-3.C
blob822dd4fdd3e9d705741e357af5d8e199c2677b2c
1 // { dg-options "-Wreturn-type" }
2 // PR c++/20624
4 struct fpos {
5  fpos(int __pos) {}
6 };
7 struct g {
8   g();
9   ~g();
11 fpos seekoff(int b, int c)
13   g __buf;
14   if (b != -1 && c >= 0)
15     return fpos(-1);
16   else
17     return fpos(-1);
18