leo/tests/parser/statement/definition_fail.leo

54 lines
546 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: Fail
*/
let mut x = expr;
let mut x = ();
let mut x = x+y;
let mut x = (x,y);
let mut x = x();
const mut x = expr;
const mut x = ();
const mut x = x+y;
const mut x = (x,y);
const mut x = x();
let mut x: u32 = expr;
let mut x: u32 = ();
let mut x: u32 = x+y;
let mut x: u32 = (x,y);
let mut x: u32 = x();
const mut x: u32 = expr;
const mut x: u32 = ();
const mut x: u32 = x+y;
const mut x: u32 = (x,y);
const mut x: u32 = x();
let (x,y,,) = ();
let (,x,y) = ();
let (x,,y) = ();