Files
aji/tests/conformance/source/std/bounded_math_incomplete.aji
T

9 lines
291 B
Rust

// expect: reject E7004
// phase: 6
// spec: docs/spec/16-standard-library.md §2.1.1
module test.bounded_math
import std.math;
fn main() -> std.math.U64Result
effects []
{ match std.math.checked_add_u64(1, 2) { std.math.U64Result::ok(value) => { return std.math.U64Result::ok(value); } } }