summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_uniform_initialization.cpp
blob: 82c76e20cbf6847ec2a9aa2cbf8f002cba92043a (plain)
1
2
3
4
5
6
7
8
9
struct A {};
struct B {
  B(A) {}
};

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