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-ctor4.C
blob
16dc19731bbe4e63b7378fb8bee7888fbe3db0ec
1
// From N3337
2
// { dg-do compile { target c++11 } }
3
4
struct B1 {
5
B1(int);
6
};
7
struct B2 {
8
B2(int = 13, int = 42);
9
};
10
struct D1 : B1 {
11
using B1::B1;
12
};
13
struct D2 : B2 {
14
using B2::B2;
15
};
16
17
D1 d1(1);
18
D2 d2a(2), d2b(3,4);