Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-type-10.C
blob: 2043b6cf21a911c62851c28e6c1cf5fa865c94df [
file
] [
log
] [
blame
]
// PR c++/59916
// { dg-options "-Os -Wreturn-type" }
class
A
{};
struct
B
:
virtual
public
A
{
B
();
virtual
~
B
();
};
B
::
B
()
{}
B
::~
B
()
{}