summaryrefslogtreecommitdiff
path: root/test/SemaCXX/PR8012.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/PR8012.cpp')
-rw-r--r--test/SemaCXX/PR8012.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/PR8012.cpp b/test/SemaCXX/PR8012.cpp
index f2f07ad36400d..9cfc2b000c014 100644
--- a/test/SemaCXX/PR8012.cpp
+++ b/test/SemaCXX/PR8012.cpp
@@ -1,3 +1,3 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
+// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
void foo (int operator+); // expected-error{{cannot be the name of a parameter}}