diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-04 12:53:25 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:56 (GMT) |
commit | 3d76656fb3db56f364bbf7a7655ab1433b72d284 (patch) | |
tree | 98c38814b553f60a7f526281494d8a363c800e76 /Tests/CompileFeatures/cxx_uniform_initialization.cpp | |
parent | e74b216c90d33548e7b248276346a5d00eff5ee3 (diff) | |
download | CMake-3d76656fb3db56f364bbf7a7655ab1433b72d284.zip CMake-3d76656fb3db56f364bbf7a7655ab1433b72d284.tar.gz CMake-3d76656fb3db56f364bbf7a7655ab1433b72d284.tar.bz2 |
Features: Add cxx_uniform_initialization.
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{}}; +} |