leo/tests/parser/statement/assign_fail.leo
2022-06-10 13:02:16 -07:00

30 lines
215 B
Plaintext

/*
namespace: ParseStatement
expectation: Fail
*/
x::y = y;
5 = y;
x + x = y;
-x = y;
!x = y;
a? x : x = y;
x as u32 = y;
[x, x, x] = y;
[x; 3] = y;
(x, x, x) = y;
x {x: y, y: z} = y;
x() = y;
🦀 = y;