summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/compilable/src/program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/compilable/src/program.cpp')
-rw-r--r--third_party/python/gyp/test/compilable/src/program.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/compilable/src/program.cpp b/third_party/python/gyp/test/compilable/src/program.cpp
new file mode 100644
index 0000000000..8af2c9b6ff
--- /dev/null
+++ b/third_party/python/gyp/test/compilable/src/program.cpp
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include "lib1.hpp"
+
+int main(void) {
+ fprintf(stdout, "Hello from program.c\n");
+ fflush(stdout);
+ lib1_function();
+ return 0;
+}