mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 09:01:35 +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;
|
|
}
|