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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor31.C
blob
3ce080d115b01ff72e46888db6b1f3ef3aca0f93
1
// { dg-do compile { target c++11 } }
2
3
struct B;
4
struct A
5
{
6
A(const B&, int = 0);
7
};
8
9
struct B: A
10
{
11
using A::A;
12
};
13
14
extern B b;
15
B b2{b};