summaryrefslogtreecommitdiff
path: root/deps/gyp/test/same-source-file-name/src/prog3.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/same-source-file-name/src/prog3.c')
-rw-r--r--deps/gyp/test/same-source-file-name/src/prog3.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/deps/gyp/test/same-source-file-name/src/prog3.c b/deps/gyp/test/same-source-file-name/src/prog3.c
new file mode 100644
index 0000000000..34d495ce08
--- /dev/null
+++ b/deps/gyp/test/same-source-file-name/src/prog3.c
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <stdio.h>
+
+extern void func(void);
+extern void subdir1_func(void);
+extern void subdir2_func(void);
+
+int main(void)
+{
+ printf("Hello from prog3.c\n");
+ func();
+ subdir1_func();
+ subdir2_func();
+ return 0;
+}