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

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

Issue 316163002: Remove unused parameters from test code. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: Created 6 years, 6 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
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()
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698