Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: test/defines/defines.c

Issue 10413004: Try to fix failing tests after 1386. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | test/defines/gyptest-defines-env-regyp.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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(int argc, char *argv[])
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 printf("HASH_VALUE is %s\n", HASH_VALUE); 19 printf("HASH_VALUE is %s\n", HASH_VALUE);
20 #endif
19 21
20 return 0; 22 return 0;
21 } 23 }
OLDNEW
« no previous file with comments | « no previous file | test/defines/gyptest-defines-env-regyp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698