repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
ctor11.C
blob
486f58aa95cbbd1dc2c81058973e77417575c52f
1
// PR c++/49569
2
3
struct A
4
{
5
virtual void f() = 0;
6
};
7
8
struct B: A
9
{
10
int i;
11
virtual void f() { }
12
};
13
14
struct C
15
{
16
B b;
17
C(): b() { }
18
C(const B& b): b(b) { }
19
};