Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
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
;
}