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

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