URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [using26.C] - Rev 742
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/26256
// { dg-do compile }
struct A
{
double next;
};
struct B
{
private:
int next; // { dg-error "private" }
};
struct C
{
int next;
};
struct D : A, B, C // { dg-error "context" }
{
using B::next;
void f()
{
next = 12;
}
};
Go to most recent revision | Compare with Previous | Blame | View Log