OLD | NEW |
1 /* Copyright (c) 2011 Google Inc. All rights reserved. | 1 /* Copyright (c) 2011 Google Inc. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 | 6 |
7 int main(int argc, char *argv[]) | 7 int main(void) |
8 { | 8 { |
9 #ifdef FOO | 9 #ifdef FOO |
10 printf("FOO is defined\n"); | 10 printf("FOO is defined\n"); |
11 #endif | 11 #endif |
12 printf("VALUE is %d\n", VALUE); | 12 printf("VALUE is %d\n", VALUE); |
13 | 13 |
14 #ifdef PAREN_VALUE | 14 #ifdef PAREN_VALUE |
15 printf("2*PAREN_VALUE is %d\n", 2*PAREN_VALUE); | 15 printf("2*PAREN_VALUE is %d\n", 2*PAREN_VALUE); |
16 #endif | 16 #endif |
17 | 17 |
18 #ifdef HASH_VALUE | 18 #ifdef HASH_VALUE |
19 printf("HASH_VALUE is %s\n", HASH_VALUE); | 19 printf("HASH_VALUE is %s\n", HASH_VALUE); |
20 #endif | 20 #endif |
21 | 21 |
22 return 0; | 22 return 0; |
23 } | 23 } |
OLD | NEW |