commit | 7f99f43b362a4a4a0f47515c88690d7291756447 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Feb 09 01:02:27 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Feb 09 01:02:27 2012 +0000 |
tree | 7891a3881e801721e6810d74604b205fc4dc13d6 | |
parent | 503384f731b5abcbf870b0a5224eb920e631db0a [diff] |
Fix tests for r150123 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150126 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/cxx0x-lambda-expressions.cpp b/test/Parser/cxx0x-lambda-expressions.cpp index df8d804..07a4701 100644 --- a/test/Parser/cxx0x-lambda-expressions.cpp +++ b/test/Parser/cxx0x-lambda-expressions.cpp
@@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s +// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify -std=c++11 %s class C {
diff --git a/test/Parser/objcxx-lambda-expressions-neg.mm b/test/Parser/objcxx-lambda-expressions-neg.mm index 864cc6b..7cdb1a2 100644 --- a/test/Parser/objcxx-lambda-expressions-neg.mm +++ b/test/Parser/objcxx-lambda-expressions-neg.mm
@@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify %s int main() { []{}; // expected-error {{expected expression}}