☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor4.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/inh-ctor4.C
code
plain
raw
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);