CMake/Tests/CompileFeatures/cxx_uniform_initialization.cpp

13 lines
69 B
C++

struct A
{
};
struct B
{
B(A) {}
};
void Func()
{
B b{ A{} };
}