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