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/] [access3.C] - Rev 305
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed access
// unsorted.2 file
// Date: Sat, 6 Jun 1992 18:23:03 -0400
// From: Brendan Kehoe <brendan@cs.widener.edu>
// Message-Id: <199206062223.AA22653@betty.cs.widener.edu>
// Subject: bug with access control to member functions
class X {
void g (int); // { dg-error "" } is private
public:
void g (double);
};
class Y : public X { void f() { g (1); } };// { dg-error "" }
Go to most recent revision | Compare with Previous | Blame | View Log