diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_defaulted_functions.cpp')
-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; +} |