+2007-04-24 Douglas Gregor <doug.gregor@gmail.com>
+
+ * g++.old-deja/g++.pt/defarg6.C: Only run with
+ -std=gnu++98.
+ * g++.old-deja/g++.pt/ucnid-1.C: Ditto.
+ * g++.dg/cpp0x/variadic61.C: Ditto.
+ * g++.dg/cpp0x/warn_cxx0x.C: Ditto.
+ * g++.dg/cpp0x/variadic62.C: Ditto.
+ * g++.dg/template/meminit1.C: Ditto.
+ * g++.dg/template/operator7.C: Ditto.
+ * g++.dg/template/static15.C: Ditto.
+ * g++.dg/template/invalid1.C: Ditto.
+ * g++.dg/template/shift1.C: Ditto.
+ * g++.dg/template/error10.C: Ditto.
+
2007-04-24 Simon Martin <simartin@users.sourceforge.net>
PR diagnostic/25923
/* { dg-do preprocess } */
-/* { dg-options "-pedantic -fextended-identifiers" } */
+/* { dg-options "-std=gnu++98 -pedantic -fextended-identifiers" } */
\u00AA /* { dg-error "not valid in an identifier" } */
\u00AB /* { dg-error "not valid in an identifier" } */
-// { dg-options "-pedantic" }
+// { dg-options "-std=gnu++98 -pedantic" }
template<typename... Args> class tuple; // { dg-warning "variadic templates" }
-// { dg-options "-pedantic-errors" }
+// { dg-options "-std=gnu++98 -pedantic-errors" }
template<typename... Args> class tuple; // { dg-error "variadic templates" }
-// { dg-options "-Wc++0x-compat" }
+// { dg-options "-std=gnu++98 -Wc++0x-compat" }
int static_assert; // { dg-warning "will become a keyword" }
void foo()
// { dg-do compile }
+// { dg-options "-std=gnu++98" }
// Origin: <tilps at hotmail dot com>
// c++/9154: poor error message for ">>" vs "> >" in template argument list
// PR c++/14883
+// { dg-options "-std=gnu++98" }
template < class T > struct DomainTraits {};
template < int Dim > class Interval;
+// { dg-options "-std=gnu++98" }
template <class T >
struct S
{
//PR c++/27493
+// { dg-options "-std=gnu++98" }
template<operator T> void foo() // { dg-error "before|template" }
{
// PR c++/18140
+// { dg-options "-std=gnu++98" }
template <int N> struct IntHolder {
static const int value = N;
// PR c++/23667
+// { dg-options "-std=gnu++98" }
template<int dummy>
struct X
// { dg-do assemble }
+// { dg-options "-std=gnu++98" }
template <class T>
struct C {