mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 03:33:44 +03:00
35 lines
355 B
Plaintext
35 lines
355 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
program test.aleo {
|
|
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;
|
|
|
|
x.y() = y;
|
|
|
|
🦀 = y;
|
|
}
|