blob: 6e2a23cdffcd1dbdd2d29e24d5350bd0ff2344fc [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#include <stdio.h>
2
3#include "inc.h"
4#include "include1.h"
5#include "include2.h"
6#include "shadow.h"
7
8int 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}