CMake/Tests/CompileFeatures/cxx_uniform_initialization.cpp

10 lines
66 B
C++

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