summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c')
-rw-r--r--src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c b/src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c
new file mode 100644
index 0000000..33657ac
--- /dev/null
+++ b/src/3rdparty/webkit/Source/ThirdParty/gyp/test/defines/defines.c
@@ -0,0 +1,14 @@
+/* Copyright (c) 2009 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 main(int argc, char *argv[])
+{
+#ifdef FOO
+ printf("FOO is defined\n");
+#endif
+ printf("VALUE is %d\n", VALUE);
+ return 0;
+}