repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2013-09-12 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
parser-pr14875.C
blob
7a6f0618681e2f60aaca56ba38ae8e2816d8632d
1
// 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
}