Home | History | Annotate | Download | only in src
      1 #include <stdio.h>
      2 
      3 #include "inc.h"
      4 #include "include1.h"
      5 #include "include2.h"
      6 #include "shadow.h"
      7 
      8 int main(void)
      9 {
     10   printf("Hello from includes.c\n");
     11   printf("Hello from %s\n", INC_STRING);
     12   printf("Hello from %s\n", INCLUDE1_STRING);
     13   printf("Hello from %s\n", INCLUDE2_STRING);
     14   /* Test that include_dirs happen first: The gyp file has a -Ishadow1
     15      cflag and an include_dir of shadow2.  Including shadow.h should get
     16      the shadow.h from the include_dir. */
     17   printf("Hello from %s\n", SHADOW_STRING);
     18   return 0;
     19 }
     20