OLD | NEW |
---|---|
(Empty) | |
1 /* | |
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 | |
4 * found in the LICENSE file. | |
5 */ | |
6 #include <stdint.h> | |
Mark Seaborn
2014/08/07 23:13:02
Nit: add empty line before this
Derek Schuff
2014/08/08 21:11:55
Done.
| |
7 #include <stdlib.h> | |
8 | |
9 int main(int argc, char *argv[]) { | |
10 if (argc < 3) | |
11 return 1; | |
12 uint64_t a = atoll(argv[1]); | |
13 uint64_t b = atoll(argv[2]); | |
14 /* 64-bit divide uses a libgcc/compiler-rt call on x86-32 and ARM. */ | |
15 if (a / b == 3ULL) | |
16 return 0; | |
17 return 1; | |
18 } | |
OLD | NEW |