CMake/Tests/CompileFeatures/cxx_uniform_initialization.cpp

10 lines
66 B
C++
Raw Normal View History

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