+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
-// { dg-do run }
+// { dg-do compile }
// Copyright (C) 2001, 2003 Free Software Foundation, Inc.
// Contributed by Ben Elliston <bje@redhat.com>
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()
if (sizeof (cols) != 2)
abort ();
- if (sizeof (forecast) != 1) // { dg-bogus "" "" { xfail *-*-* } }
+ if (sizeof (forecast) != 1)
abort ();
return 0;