[cfe-commits] r141904 - /cfe/trunk/test/SemaCXX/cxx98-compat.cpp

Richard Smith richard-llvm at metafoo.co.uk
Thu Oct 13 15:45:21 PDT 2011


Author: rsmith
Date: Thu Oct 13 17:45:21 2011
New Revision: 141904

URL: http://llvm.org/viewvc/llvm-project?rev=141904&view=rev
Log:
Convert newly-added test from -std=c++0x to -std=c++11.

Modified:
    cfe/trunk/test/SemaCXX/cxx98-compat.cpp

Modified: cfe/trunk/test/SemaCXX/cxx98-compat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx98-compat.cpp?rev=141904&r1=141903&r2=141904&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx98-compat.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx98-compat.cpp Thu Oct 13 17:45:21 2011
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -Wc++98-compat -verify %s
+// RUN: %clang_cc1 -fsyntax-only -std=c++11 -Wc++98-compat -verify %s
 
 template<typename ...T>  // expected-warning {{variadic templates are incompatible with C++98}}
 class Variadic1 {};





More information about the cfe-commits mailing list