parser/c_compiler/test/error.c
changeset 39 46d7ec9d63bd
parent 37 0fbbe329c3a2
child 40 be3f5582b839
equal deleted inserted replaced
38:48f6f3918b82 39:46d7ec9d63bd
     1 #include <stdio.h>
     1 #include <stdio.h>
     2 #include <stdlib.h>
     2 #include <stdlib.h>
     3 
     3 
     4 int main(int argc, char **argv)
     4 int main (int argc, char **argv)
     5 {
     5 {
     6 	FILE *fp;
     6     FILE *fp;
     7 
     7 
     8 	printf ("Hello, world\n")
     8 	/* ERROR SEMICOLON IS MISSING */
       
     9     printf ("Hello, world\n")
     9 
    10 
    10 	return EXIT_SUCCESS;
    11     return EXIT_SUCCESS;
    11 }
    12 }