Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}