Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-type-2.C
blob: ad59d4ec344cc44c35f2fc6a71849fad02832ed4 [
file
] [
log
] [
blame
]
// PR middle-end/16558
// { dg-options "-Wreturn-type" }
struct
C
{
C
();
~
C
();
};
int
getref
(
int
ndx
)
{
C d
;
if
(
ndx
!=
0
)
{
C
base
;
return
0
;
}
else
return
0
;
}