parser/c_compiler/test/error.c
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:13 +0200
changeset 55 2a20d0184041
parent 40 be3f5582b839
child 77 49e0babccb23
permissions -rw-r--r--
Console aborts with return code -1 on error committer: Markus Bröker <mbroeker@largo.homelinux.org>

#include <stdio.h>
#include <stdlib.h>

int main (int argc, char **argv)
{
    FILE *fp;

    /*
     * ERROR SEMICOLON IS MISSING
     */
    printf ("Hello, world\n")

        return EXIT_SUCCESS;
}