From: Douglas Gregor Date: Thu, 9 Feb 2012 01:02:27 +0000 (+0000) Subject: Fix tests for r150123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f99f43b362a4a4a0f47515c88690d7291756447;p=clang 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 df8d804931..07a4701653 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 864cc6b8fb..7cdb1a292e 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}}