summaryrefslogtreecommitdiffstats
path: root/tests/cxx/deleted_implicit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/deleted_implicit.cc')
-rw-r--r--tests/cxx/deleted_implicit.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cxx/deleted_implicit.cc b/tests/cxx/deleted_implicit.cc
index 9becf5a..0ca277d 100644
--- a/tests/cxx/deleted_implicit.cc
+++ b/tests/cxx/deleted_implicit.cc
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+// IWYU_ARGS: -std=c++11
+
// Tests that we don't crash when instantiating implicit methods, or rather,
// that we avoid instantiating implicit methods when they are to be considered
// deleted.