URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [arm3.C] - Rev 149
Go to most recent revision | 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.
}
Go to most recent revision | Compare with Previous | Blame | View Log