summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/test/clang-tidy/misc-forwarding-reference-overload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-forwarding-reference-overload.cpp b/clang-tools-extra/test/clang-tidy/misc-forwarding-reference-overload.cpp
index 30e93472e57..b21efa4859f 100644
--- a/clang-tools-extra/test/clang-tidy/misc-forwarding-reference-overload.cpp
+++ b/clang-tools-extra/test/clang-tidy/misc-forwarding-reference-overload.cpp
@@ -1,8 +1,8 @@
-// RUN: %check_clang_tidy %s misc-forwarding-reference-overload %t
+// RUN: %check_clang_tidy %s misc-forwarding-reference-overload %t -- -- -std=c++14
namespace std {
template <bool B, class T = void>
-struct enable_if {};
+struct enable_if { typedef T type; };
template <class T>
struct enable_if<true, T> { typedef T type; };
OpenPOWER on IntegriCloud