summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp b/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
index 78fcb76fdb1..3948b66000f 100644
--- a/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
+++ b/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
@@ -1,6 +1,6 @@
// RUN: %check_clang_tidy %s modernize-use-noexcept %t -- \
// RUN: -config="{CheckOptions: [{key: modernize-use-noexcept.ReplacementString, value: 'NOEXCEPT'}]}" \
-// RUN: -- -std=c++11
+// RUN: -- -std=c++11 -fexceptions
// Example definition of NOEXCEPT -- simplified test to see if noexcept is supported.
#if (__has_feature(cxx_noexcept))
OpenPOWER on IntegriCloud