Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor29.C
blob: 8e31f739d745867d163f37f97f95485dd7395486 [
file
] [
log
] [
blame
]
// PR c++/67054
// { dg-do compile { target c++11 } }
struct
A
{
A
(
int
)
{}
};
struct
C
{
C
(
int
)
{}
};
struct
B
:
A
{
using
A
::
A
;
C c
=
42
;
};
int
main
()
{
B b
=
24
;
}