The problem is that there's no new-line character in the end of your code. C++ Standard §2.1/2 says:
<...>If a source file that is not
empty does not end in a new-line
character, or ends in a new-line
character immediately preceded by a
backslash character, the behavior is
undefined.