diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_deleted_functions.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_deleted_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_deleted_functions.cpp b/Tests/CompileFeatures/cxx_deleted_functions.cpp new file mode 100644 index 0000000..4ecb1e9 --- /dev/null +++ b/Tests/CompileFeatures/cxx_deleted_functions.cpp @@ -0,0 +1,6 @@ + +struct A +{ + A(const A&) = delete; + A& operator=(const A&) = delete; +}; |