mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 18:42:26 +03:00
12 lines
130 B
Plaintext
12 lines
130 B
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Fail
|
||
|
*/
|
||
|
|
||
|
const basic: u32 = 8;
|
||
|
|
||
|
function main() {
|
||
|
// Cannot re-assign!
|
||
|
basic = 2u32;
|
||
|
}
|