projects
/
platform
/
upstream
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/59916 (constructors and destructors can cause "control reaches end of non...
[platform/upstream/gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-type-10.C
1
// PR c++/59916
2
// { dg-options "-Os -Wreturn-type" }
3
4
class A {};
5
6
struct B : virtual public A
7
{
8
B();
9
virtual ~B();
10
};
11
12
B::B() {}
13
B::~B() {}