summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/exclusion/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/gyp/test/exclusion/hello.c')
-rw-r--r--third_party/python/gyp/test/exclusion/hello.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/exclusion/hello.c b/third_party/python/gyp/test/exclusion/hello.c
new file mode 100644
index 0000000000..6e7dc8e419
--- /dev/null
+++ b/third_party/python/gyp/test/exclusion/hello.c
@@ -0,0 +1,15 @@
+/* Copyright (c) 2010 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>
+
+int func1(void) {
+ return 42;
+}
+
+int main(void) {
+ printf("Hello, world!\n");
+ printf("%d\n", func1());
+ return 0;
+}