leo/tests/parser/inputs/input_const.leo

21 lines
443 B
Plaintext

/*
namespace: Input
expectation: Pass
*/
[main]
const a: bool = true;
const b: u8 = 2u8;
const c: field = 0field;
const d: group = (0, 1)group;
const e: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
const f: i8 = -2i8;
[registers]
r0: bool = true;
r1: u8 = 2u8;
r2: field = 0field;
r3: group = (0, 1)group;
r4: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
r4: i8 = -1i8;