defarg6.C: Only run with -std=gnu++98.
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 24 Apr 2007 21:07:22 +0000 (21:07 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Tue, 24 Apr 2007 21:07:22 +0000 (21:07 +0000)
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.

From-SVN: r124125

12 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp/ucnid-1.C
gcc/testsuite/g++.dg/cpp0x/variadic61.C
gcc/testsuite/g++.dg/cpp0x/variadic62.C
gcc/testsuite/g++.dg/cpp0x/warn_cxx0x.C
gcc/testsuite/g++.dg/template/error10.C
gcc/testsuite/g++.dg/template/invalid1.C
gcc/testsuite/g++.dg/template/meminit1.C
gcc/testsuite/g++.dg/template/operator7.C
gcc/testsuite/g++.dg/template/shift1.C
gcc/testsuite/g++.dg/template/static15.C
gcc/testsuite/g++.old-deja/g++.pt/defarg6.C

index e0cb3ddb5427a542591806463585ee65ff6e5cf8..32fc7f3c0b0fe81e0baa00aa1828ddc8cab45a3a 100644 (file)
@@ -1,3 +1,18 @@
+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
index d15be4f8e03051bc384d8b94658fa8cf556cae7d..7a8f72a5dc431cd4a6b31d3e7af1e44f74df019d 100644 (file)
@@ -1,5 +1,5 @@
 /* { 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" } */
index 487f78bc07a67bd7db5f16c610398b4f1b33aa1e..d06c5f6b952b1ec9e1eb9696af336637967dfc36 100644 (file)
@@ -1,2 +1,2 @@
-// { dg-options "-pedantic" }
+// { dg-options "-std=gnu++98 -pedantic" }
 template<typename... Args> class tuple; // { dg-warning "variadic templates" }
index dfa41f7391504aba7422aad383628dd80aadf9f2..010b3a5d47cb1274d601565e07bdcc3a71407aec 100644 (file)
@@ -1,2 +1,2 @@
-// { dg-options "-pedantic-errors" }
+// { dg-options "-std=gnu++98 -pedantic-errors" }
 template<typename... Args> class tuple; // { dg-error "variadic templates" }
index 57dfe7bffa1fd6f7553ebdb67eadb5e570adf04f..2b84c931a6f248d8519b238c34ef7b3b5149c21b 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-Wc++0x-compat" }
+// { dg-options "-std=gnu++98 -Wc++0x-compat" }
 int static_assert; // { dg-warning "will become a keyword" }
 
 void foo()
index dcb4f3e08fe0c40820c2780d99c6aa92e5b1c7c0..02ea64b7912bc646fc8a4507f322406f4c619024 100644 (file)
@@ -1,4 +1,5 @@
 // { 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
 
index 04b871068c72c430de5a36e066eccb9f35d07eb0..d2fcca6d3cd09b10db15fe6659337e7b4a3fc30d 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/14883
+// { dg-options "-std=gnu++98" }
 
 template < class T > struct DomainTraits {};
 template < int Dim > class Interval;
index 90b0d7d853943f193abc2431f3ce6bfeab3ba868..077bf60cb80e43a2ff034683be12f0f683057474 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-options "-std=gnu++98" }
 template <class T >
 struct S
 {
index bd733da4d3021a9358dbeeb2072210bf765964cb..59c8b356cc72eed45e4a17e6f1a79ab5220c3e30 100644 (file)
@@ -1,4 +1,5 @@
 //PR c++/27493
+// { dg-options "-std=gnu++98" }
 
 template<operator T> void foo()         // { dg-error "before|template" }
 {
index 22cb0de95bed255f01b58f877f00cb7e8f288b38..a4ceec92c3afa09c26bfbf4cc1b2c35aa8c9f2d5 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/18140
+// { dg-options "-std=gnu++98" }
 
 template <int N> struct IntHolder {
   static const int value = N;
index 7302b7d808ba18a1b5e339fa15f7aa410522beea..d8faa35a609abbccbfdce72f44e86e06ff19120f 100644 (file)
@@ -1,4 +1,5 @@
 // PR c++/23667
+// { dg-options "-std=gnu++98" }
 
 template<int dummy>
   struct X
index d5425d1a01036d6f0e3671e7880a2d2316985612..f5f7b7b2262f19400237f6fe8432dfefcc2cb297 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do assemble  }
+// { dg-options "-std=gnu++98" }
 
 template <class T>
 struct C {