leo/tests/parser/statement/definition.leo

34 lines
376 B
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
/*
2021-04-07 20:01:24 +03:00
namespace: ParseStatement
2021-03-30 01:45:10 +03:00
expectation: Pass
*/
2022-03-07 19:30:03 +03:00
let x: u8 = expr;
2021-03-30 01:45:10 +03:00
2022-03-07 19:30:03 +03:00
let x: u16 = x+y;
2021-03-30 01:45:10 +03:00
2022-03-07 19:30:03 +03:00
let x: u8 = x();
2021-03-30 01:45:10 +03:00
2022-03-07 19:30:03 +03:00
const x: i8 = expr;
2021-03-30 01:45:10 +03:00
2022-03-07 19:30:03 +03:00
const x: i16 = x+y;
2021-03-30 01:45:10 +03:00
2022-03-07 19:30:03 +03:00
const x: i8 = x();
2021-03-30 01:45:10 +03:00
let x: u32 = expr;
let x: u32 = x+y;
let x: u32 = x();
const x: u32 = expr;
const x: u32 = x+y;
const x: u32 = x();
2022-02-16 22:33:52 +03:00
let x: address = aleo15u4r0gzjtqzepkgurgn7p3u5kkhs9p74rx6aun3uh2s5std6759svgmg53;