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