diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_uniform_initialization.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_uniform_initialization.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Tests/CompileFeatures/cxx_uniform_initialization.cpp b/Tests/CompileFeatures/cxx_uniform_initialization.cpp index 82c76e2..e5048d1 100644 --- a/Tests/CompileFeatures/cxx_uniform_initialization.cpp +++ b/Tests/CompileFeatures/cxx_uniform_initialization.cpp @@ -1,9 +1,12 @@ -struct A {}; -struct B { +struct A +{ +}; +struct B +{ B(A) {} }; void Func() { - B b{A{}}; + B b{ A{} }; } |