Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}