URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [arm3.C] - Rev 516
Compare with Previous | Blame | View Log
// { 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.
}