diff options
Diffstat (limited to 'test/CXX/expr/expr.prim')
-rw-r--r-- | test/CXX/expr/expr.prim/p12-0x.cpp | 2 | ||||
-rw-r--r-- | test/CXX/expr/expr.prim/p4-0x.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/expr/expr.prim/p12-0x.cpp b/test/CXX/expr/expr.prim/p12-0x.cpp index 0ff29a18825b0..aec62ddd97a76 100644 --- a/test/CXX/expr/expr.prim/p12-0x.cpp +++ b/test/CXX/expr/expr.prim/p12-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s struct S { int *j = &nonexistent; // expected-error {{use of undeclared identifier 'nonexistent'}} diff --git a/test/CXX/expr/expr.prim/p4-0x.cpp b/test/CXX/expr/expr.prim/p4-0x.cpp index 13735fab4a9de..143ba897ae95e 100644 --- a/test/CXX/expr/expr.prim/p4-0x.cpp +++ b/test/CXX/expr/expr.prim/p4-0x.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++0x %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s struct S { S *p = this; // ok |