On Wed, Jul 18, 2012 at 2:56 PM, Aaron Ballman <[email protected]>wrote:
> Author: aaronballman > Date: Wed Jul 18 16:56:43 2012 > New Revision: 160455 > > URL: http://llvm.org/viewvc/llvm-project?rev=160455&view=rev > Log: > Fixing up a test case that was failing due to the lack of -std=c++11 > What was the failure? This testcase doesn't seem to have anything to do with C++11, and had been unchanged for ~2 years. > > Modified: > cfe/trunk/test/PCH/cxx-typeid.cpp > > Modified: cfe/trunk/test/PCH/cxx-typeid.cpp > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/cxx-typeid.cpp?rev=160455&r1=160454&r2=160455&view=diff > > ============================================================================== > --- cfe/trunk/test/PCH/cxx-typeid.cpp (original) > +++ cfe/trunk/test/PCH/cxx-typeid.cpp Wed Jul 18 16:56:43 2012 > @@ -1,8 +1,8 @@ > // Test this without pch. > -// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -Xclang -verify %s > +// RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -std=c++11 -Xclang > -verify %s > > -// RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h > -// RUN: %clang -ccc-pch-is-pch -include %t -fsyntax-only -Xclang -verify > %s > +// RUN: %clang -ccc-pch-is-pch -std=c++11 -x c++-header -o %t.gch > %S/cxx-typeid.h > +// RUN: %clang -ccc-pch-is-pch -std=c++11 -include %t -fsyntax-only > -Xclang -verify %s > > void f() { > (void)typeid(int); > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
