mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
5d57970dd9
Avoid warning with SolarisStudio.
19 lines
134 B
C++
19 lines
134 B
C++
|
|
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);
|
|
}
|