mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-23 01:22:10 +03:00
55 lines
547 B
Plaintext
55 lines
547 B
Plaintext
/*
|
|
namespace: ParseStatement
|
|
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) = ();
|