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
PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
inh-ctor34.C
blob
f47b2a4dc2fcc863eb1f708d087ffc38868de077
1
// { dg-do compile { target c++11 } }
2
// { dg-options -fnew-inheriting-ctors }
3
4
class A
5
{
6
A(int);
7
friend void f();
8
};
9
10
struct B: A
11
{
12
using A::A;
13
};
14
15
void f()
16
{
17
B b(42);
18
}