URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [using38.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// PR c++/6936
struct Baser
{
enum { j, i }; // { dg-error "inaccessible" }
};
struct Base : Baser
{
static void j();
static void i();
};
struct Derv : Base
{
using Baser::j;
private:
using Baser::i;
};
int k = Derv::j;
int l = Derv::i; // { dg-error "context" }
Go to most recent revision | Compare with Previous | Blame | View Log