Files
c3c/test/test_suite/stdlib/minmax.c3
2023-01-11 18:00:08 +01:00

10 lines
244 B
Plaintext

import std::io;
fn void main()
{
io::printfn("min(-1, 1) == %s", min(-1, 1));
io::printfn("max(-1, 1) == %s", max(-1, 1));
io::printfn("min(-1, 0, 1) == %s", min(-1, 0, 1));
io::printfn("max(-1, 0, 1) == %s", max(-1, 0, 1));
}