class WrongLine {
WrongLine() {
}
private:
int n;
}
In g++ 4.0.3 (Ubuntu 4.0.3-1ubuntu5), the above yields:
GBug.h:3: error: expected unqualified-id at end of input
But its actually line 6 where the error occurs, which can be fixed by
changing line 6 to };