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

10 lines
282 B
Rust

// expect: reject E7006
// phase: 6
// spec: docs/spec/16-standard-library.md §2.3; docs/spec/15-source-language.md §13
module test.endian
import std.bytes;
fn main() -> u8
effects []
{ match std.bytes.read_u16_le(b"xx") { ok(v) => { return 0; } short_input => { return 1; } } }