summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/same-source-file-name/src/prog2.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/same-source-file-name/src/prog2.c')
-rw-r--r--third_party/python/gyp/test/same-source-file-name/src/prog2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/same-source-file-name/src/prog2.c b/third_party/python/gyp/test/same-source-file-name/src/prog2.c
new file mode 100644
index 0000000000..466ee35003
--- /dev/null
+++ b/third_party/python/gyp/test/same-source-file-name/src/prog2.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+
+extern void func(void);
+
+int main(void)
+{
+ printf("Hello from prog2.c\n");
+ func();
+ /*
+ * Uncomment to test same-named files in different directories,
+ * which Visual Studio doesn't support.
+ subdir1_func();
+ subdir2_func();
+ */
+ return 0;
+}