parser/c_compiler/test/error.c
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 15 Aug 2009 23:05:54 +0200
changeset 106 a540a842ddef
parent 77 49e0babccb23
permissions -rw-r--r--
Endian Check simplified... committer: Markus Bröker <mbroeker@largo.homelinux.org>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
77
49e0babccb23 HEADER TAGS
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 40
diff changeset
     1
/**
49e0babccb23 HEADER TAGS
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 40
diff changeset
     2
 * parser/c_compiler/test/error.c
49e0babccb23 HEADER TAGS
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 40
diff changeset
     3
 * Copyright (C) 2008 Markus Broeker
49e0babccb23 HEADER TAGS
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 40
diff changeset
     4
 */
49e0babccb23 HEADER TAGS
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 40
diff changeset
     5
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     6
#include <stdio.h>
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     7
#include <stdlib.h>
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     8
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
     9
int main (int argc, char **argv)
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    10
{
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
    11
    FILE *fp;
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    12
40
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    13
    /*
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    14
     * ERROR SEMICOLON IS MISSING
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    15
     */
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
    16
    printf ("Hello, world\n")
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    17
40
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    18
        return EXIT_SUCCESS;
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    19
}