URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
typedef int ptr1() const; // no error
|
typedef int ptr1() const; // no error
|
|
|
void foo ()
|
void foo ()
|
{
|
{
|
typedef int ptr2() const; // no error
|
typedef int ptr2() const; // no error
|
}
|
}
|
|
|
class C
|
class C
|
{
|
{
|
typedef int ptr3() const; // error
|
typedef int ptr3() const; // error
|
|
|
void bar ()
|
void bar ()
|
{
|
{
|
typedef int ptr4() const; // no error
|
typedef int ptr4() const; // no error
|
}
|
}
|
};
|
};
|
|
|
void wibble () const { } // { dg-error "non-member function" }
|
void wibble () const { } // { dg-error "non-member function" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.