summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/performance-noexcept-move-constructor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/performance-noexcept-move-constructor.cpp')
-rw-r--r--tools/clang-tidy/test/performance-noexcept-move-constructor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/performance-noexcept-move-constructor.cpp b/tools/clang-tidy/test/performance-noexcept-move-constructor.cpp
new file mode 100644
index 0000000000..8b4900b00d
--- /dev/null
+++ b/tools/clang-tidy/test/performance-noexcept-move-constructor.cpp
@@ -0,0 +1,4 @@
+class A {
+ A(A &&);
+ A &operator=(A &&);
+};