URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// PR c++/28588
|
// PR c++/28588
|
|
|
class Foo {
|
class Foo {
|
static void f(); // { dg-error "private" }
|
static void f(); // { dg-error "private" }
|
static void f(int);
|
static void f(int);
|
static void g(); // { dg-error "private" }
|
static void g(); // { dg-error "private" }
|
};
|
};
|
|
|
void h()
|
void h()
|
{
|
{
|
Foo foo;
|
Foo foo;
|
void (*f)();
|
void (*f)();
|
f = foo.f; // { dg-error "context" }
|
f = foo.f; // { dg-error "context" }
|
f = foo.g; // { dg-error "context" }
|
f = foo.g; // { dg-error "context" }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.