mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
10 lines
240 B
Plaintext
10 lines
240 B
Plaintext
fn void int_min() @test
|
|
{
|
|
assert(int.min == -2147483648);
|
|
assert((float)int.min == -2147483648.0f);
|
|
assert(short.min == -32768);
|
|
assert((float)short.min == -32768.0f);
|
|
assert(ichar.min == -128);
|
|
assert((float)ichar.min == -128.0f);
|
|
}
|