1 // { dg-options "-Wreturn-type" }
2 // PR c++/20624
3 
4 struct fpos {
fposfpos5  fpos(int __pos) {}
6 };
7 struct g {
8   g();
9   ~g();
10 };
seekoff(int b,int c)11 fpos seekoff(int b, int c)
12 {
13   g __buf;
14   if (b != -1 && c >= 0)
15     return fpos(-1);
16   else
17     return fpos(-1);
18 }
19