Sign in
fuchsia
/
third_party
/
cmake
/
refs/tags/v3.1.0-rc2
/
.
/
Tests
/
CompileFeatures
/
cxx_inheriting_constructors.cpp
blob: a83b624ca1354b7d39c29ff7ced3a1687263f9e9 [
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
;
B b
(
i
);
}