int main (int argc, char * const argv[]) {

    //  |_____________|            |______________\ 
    if (1)
    {
        printf("Hello");
    }
    else
    {
        printf("There");
    }

    return 0;
}

Not that there's a space after the comment above.


-- 
           Summary: preprocessor eats whitespace at end of line
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: echristo at gcc dot gnu dot org
        ReportedBy: echristo at redhat dot com
 GCC build triplet: i686-pc-darwin
  GCC host triplet: i686-pc-darwin
GCC target triplet: i686-pc-darwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24531

Reply via email to