mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
d746e32349
Please respect some conventions: - tests2 filenames don't end with '..._test' - tests2 tests are meant to produce some output - the output should be somehow informative, not just "error" or "dummy". Because other people would want to know where it fails if it does. - tests2 tests should work with both GCC and TCC, except if there are specifc reasons (like testing tcc-only feature such as bounds checking) - tests2 tests should never crash or abort. Because that would cause gui dialogs to pop up on windows, and because other people would not know where it fails if it does. - tests2 tests should be somehow specific, in general. (rather than just collections of random stuff) - in general, do not use 'long' if you mean 'larger than int' Because it isn't on many platforms. - use four (4) spaces for block indention. Do not insert tab characters in files if possible. Also: - tccgen.c:gen_cast() simplify last fix.
41 lines
642 B
Plaintext
41 lines
642 B
Plaintext
1 : 1
|
|
10 : 2
|
|
100 : 3
|
|
1000 : 4
|
|
10000 : 5
|
|
100000 : 6
|
|
1000000 : 7
|
|
10000000 : 8
|
|
100000000 : 9
|
|
1000000000 : 10
|
|
10000000000 : 11
|
|
100000000000 : 12
|
|
1000000000000 : 13
|
|
10000000000000 : 14
|
|
100000000000000 : 15
|
|
1000000000000000 : 16
|
|
10000000000000000 : 17
|
|
100000000000000000 : 18
|
|
1000000000000000000 : 19
|
|
-8446744073709551616 : 20
|
|
1 : 1
|
|
10 : 2
|
|
100 : 3
|
|
1000 : 4
|
|
10000 : 5
|
|
100000 : 6
|
|
1000000 : 7
|
|
10000000 : 8
|
|
100000000 : 9
|
|
1000000000 : 10
|
|
10000000000 : 11
|
|
100000000000 : 12
|
|
1000000000000 : 13
|
|
10000000000000 : 14
|
|
100000000000000 : 15
|
|
1000000000000000 : 16
|
|
10000000000000000 : 17
|
|
100000000000000000 : 18
|
|
1000000000000000000 : 19
|
|
10000000000000000000 : 20
|