Here's my code:
bar = 3;
multiple definition of 'bar'
It's down to the missing semicolon at the end of the class declaration
That's confusing the compiler (it seems to be attempting to parse your constructor definition as the name of an object of type
C++ ain't Java you know!