URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 384 |
// PR 14875: When using 'or' keyword, the error message speaks of a '||' token
|
// PR 14875: When using 'or' keyword, the error message speaks of a '||' token
|
// { dg-do compile }
|
// { dg-do compile }
|
// { dg-options "" }
|
// { dg-options "" }
|
using namespace std;
|
using namespace std;
|
|
|
class Sample
|
class Sample
|
{
|
{
|
|
|
public:
|
public:
|
Sample();
|
Sample();
|
void or(long Digital); // { dg-error "before .or. token" }
|
void or(long Digital); // { dg-error "before .or. token" }
|
};
|
};
|
|
|
Sample::Sample()
|
Sample::Sample()
|
{
|
{
|
}
|
}
|
|
|
void Sample::or(long Digital) // { dg-error "before .or. token" }
|
void Sample::or(long Digital) // { dg-error "before .or. token" }
|
{
|
{
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.