diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-02 22:12:02 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:54 (GMT) |
commit | 91f3699000084804100a782e93509a3a53adc2a8 (patch) | |
tree | 64a53cffb3ae4c3be7d7049a2b99c327c33da73b /Tests/CompileFeatures | |
parent | 7e748417bc8e06caa8eb0b6a6258b7d24cc22bfb (diff) | |
download | CMake-91f3699000084804100a782e93509a3a53adc2a8.zip CMake-91f3699000084804100a782e93509a3a53adc2a8.tar.gz CMake-91f3699000084804100a782e93509a3a53adc2a8.tar.bz2 |
Features: Add cxx_defaulted_functions.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/cxx_defaulted_functions.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_defaulted_functions.cpp b/Tests/CompileFeatures/cxx_defaulted_functions.cpp new file mode 100644 index 0000000..b679a92 --- /dev/null +++ b/Tests/CompileFeatures/cxx_defaulted_functions.cpp @@ -0,0 +1,9 @@ + +struct A { + A() = default; +}; + +void someFunc() +{ + A a; +} |