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
cp/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-type-2.C
1
// PR middle-end/16558
2
// { dg-options "-Wreturn-type" }
3
4
struct C
5
{
6
C ();
7
~C ();
8
};
9
10
int getref (int ndx)
11
{
12
C d;
13
14
if (ndx != 0) {
15
C base;
16
return 0;
17
}
18
else
19
return 0;
20
}