blob: 7a6f0618681e2f60aaca56ba38ae8e2816d8632d [file] [log] [blame]
// PR 14875: When using 'or' keyword, the error message speaks of a '||' token
// { dg-do compile }
// { dg-options "" }
using namespace std;
class Sample
{
public:
Sample();
void or(long Digital); // { dg-error "before .or. token" }
};
Sample::Sample()
{
}
void Sample::or(long Digital) // { dg-error "before .or. token" }
{
}