aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/skip-auto-funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeCompletion/skip-auto-funcs.cpp')
-rw-r--r--test/CodeCompletion/skip-auto-funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeCompletion/skip-auto-funcs.cpp b/test/CodeCompletion/skip-auto-funcs.cpp
index ab2465d7fb..c0fa0f556d 100644
--- a/test/CodeCompletion/skip-auto-funcs.cpp
+++ b/test/CodeCompletion/skip-auto-funcs.cpp
@@ -1,7 +1,7 @@
// We run clang in completion mode to force skipping of function bodies and
// check if the function bodies were skipped by observing the warnings that
// clang produces.
-// RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:60:1 %s -o - 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -std=c++14 -fsyntax-only -code-completion-at=%s:60:1 %s -o - 2>&1 | FileCheck %s
template <class T>
auto not_skipped() {
int x;