OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [parser-pr14875.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR 14875: When using 'or' keyword, the error message speaks of a '||' token
2
// { dg-do compile }
3
// { dg-options "" }
4
using namespace std;
5
 
6
class Sample
7
{
8
 
9
public:
10
  Sample();
11
  void or(long Digital);  // { dg-error "before .or. token" }
12
};
13
 
14
Sample::Sample()
15
{
16
}
17
 
18
void Sample::or(long Digital) // { dg-error "before .or. token" }
19
{
20
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.