OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-3.C
1
// { dg-options "-Wreturn-type" }
2
// PR c++/20624
3
4
struct fpos {
5
fpos(int __pos) {}
6
};
7
struct g {
8
g();
9
~g();
10
};
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
}