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
/
inh-ctor29.C
blob
8e31f739d745867d163f37f97f95485dd7395486
1
// PR c++/67054
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
A(int) {}
7
};
8
9
struct C
10
{
11
C(int) {}
12
};
13
14
struct B : A
15
{
16
using A::A;
17
C c = 42;
18
};
19
20
int main()
21
{
22
B b = 24;
23
}