"I am trying to forward declare a class using code like this:
CTestboard tb;"
That isn't a forward declaration, but a object declaration; the two are different. This is a forward declaration:
class CTestboard;
I'm surprised nobody pointed that out.
As for you error, I assumed it could be a digraph or trigraph, but no of them match. I suspect the problem is with the code itself, and not the comment. I don't think it's a bug, because my compiler doesn't care; even old GCC compilers accept it.