repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-base1.C
blob
cbae170b0283b2b143601ec9d64b273cafb3df2a
1
// PR c++/66617
2
// { dg-do compile { target c++11 } }
3
4
struct A { };
5
struct B: virtual A
6
{
7
protected:
8
B(int, int);
9
};
10
struct C: B
11
{
12
C(): B{1,2} {}
13
};
14
15