1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// { dg-do assemble } // GROUPS passed ARM-compliance // arm file // Message-Id: <199301260139.AA13555@world.std.com> // From: gparker@world.std.com (Glenn P Parker) // Subject: gcc bug // Date: Mon, 25 Jan 1993 20:39:19 -0500 class X { enum S { blue, pink }; int S; public: void f (enum S arg) ; }; void X::f (enum S arg) { S = arg; // g++ gives error on this line. }