summaryrefslogtreecommitdiff
path: root/deps/gyp/test/include_dirs/src/includes.c
blob: 6e2a23cdffcd1dbdd2d29e24d5350bd0ff2344fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

#include "inc.h"
#include "include1.h"
#include "include2.h"
#include "shadow.h"

int main(void)
{
  printf("Hello from includes.c\n");
  printf("Hello from %s\n", INC_STRING);
  printf("Hello from %s\n", INCLUDE1_STRING);
  printf("Hello from %s\n", INCLUDE2_STRING);
  /* Test that include_dirs happen first: The gyp file has a -Ishadow1
     cflag and an include_dir of shadow2.  Including shadow.h should get
     the shadow.h from the include_dir. */
  printf("Hello from %s\n", SHADOW_STRING);
  return 0;
}