diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_uniform_initialization.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_uniform_initialization.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_uniform_initialization.cpp b/Tests/CompileFeatures/cxx_uniform_initialization.cpp new file mode 100644 index 0000000..82c76e2 --- /dev/null +++ b/Tests/CompileFeatures/cxx_uniform_initialization.cpp @@ -0,0 +1,9 @@ +struct A {}; +struct B { + B(A) {} +}; + +void Func() +{ + B b{A{}}; +} |