Error: expected primary-expression before '.' token

I disagree thoroughly with this

So, you have a dog named DOG?