OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* Just test that these headers can be #included. */ | 7 #include <stdlib.h> |
8 #include <irt.h> | |
9 #include <irt_dev.h> | |
10 | 8 |
11 int main(void) { | 9 int main(int argc, char **argv) { |
12 return 0; | 10 int i, sum = 0; |
| 11 for (i = 0; i < argc; ++i) |
| 12 sum += strtol(argv[i], 0, 0); |
| 13 return sum; |
13 } | 14 } |
OLD | NEW |