Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
7f067a3c17f9f0d199013deab6c59f72837a531d
/
.
/
Tests
/
CompileFeatures
/
cxx_inheriting_constructors.cpp
blob: 51400cefc0ebeea1ff9801156a577520b0f01db6 [
file
] [
log
] [
blame
]
struct
A
{
int
m_i
;
A
(
int
i
)
:
m_i
(
i
)
{
}
};
struct
B
:
public
A
{
using
A
::
A
;
};
void
someFunc
()
{
int
i
=
0
;
B b
(
i
);
}