]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
enum5.C: Change from "run" to "compile".
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sat, 3 Dec 2005 04:34:05 +0000 (04:34 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sat, 3 Dec 2005 04:34:05 +0000 (04:34 +0000)
* g++.old-deja/g++.other/enum5.C: Change from "run" to "compile".
Fix attribute for new parser.  Remove unnecessary dg-bogus.
* g++.old-deja/g++.pt/friend44.C: Change from "run" to "compile".

From-SVN: r107994

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/enum5.C
gcc/testsuite/g++.old-deja/g++.pt/friend44.C

index ee18a9ee23273cca2020a90312e23d9f8405847d..3a315d52b3e2d1b3b39a12f6766d5cc445434f02 100644 (file)
@@ -1,3 +1,9 @@
+2005-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * g++.old-deja/g++.other/enum5.C: Change from "run" to "compile".
+       Fix attribute for new parser.  Remove unnecessary dg-bogus.
+       * g++.old-deja/g++.pt/friend44.C: Change from "run" to "compile".
+
 2005-12-02  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
        PR c++/24103
index bee7b985b5a9dc5bc49076ca705f6683c8965961..f254dca1bf512eb59555590fd616502953da0bb9 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do compile }
 // Copyright (C) 2001, 2003 Free Software Foundation, Inc.
 // Contributed by Ben Elliston <bje@redhat.com>
 
@@ -8,7 +8,7 @@ extern "C" void abort();
 
 enum numbers { one, two, three } __attribute__ ((packed)) nums; // { dg-bogus "" "" { xfail *-*-* } } 
 enum colours { red = 1000, green, blue } __attribute__ ((packed)) cols; // { dg-bogus "" "" { xfail *-*-* } } 
-enum __attribute__ ((packed)) conditions { fine, rain, cloudy } forecast; // { dg-bogus "" "" { xfail *-*-* } } 
+enum conditions { fine, rain, cloudy } __attribute__ ((packed)) forecast; // { dg-bogus "" "" { xfail *-*-* } } 
 
 int
 main()
@@ -19,7 +19,7 @@ main()
   if (sizeof (cols) != 2)
     abort ();
 
-  if (sizeof (forecast) != 1) // { dg-bogus "" "" { xfail *-*-* } }
+  if (sizeof (forecast) != 1)
     abort ();
 
   return 0;
index 1f79172906145ec0bf0c85b175cba57b8f80a9f7..4ef4c634bb98b331be20b1698d5da3fd9abc87b8 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do compile }
 // Test that template friends referring to class template members are
 // respected.