mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-04 08:14:08 +03:00
15 lines
165 B
Plaintext
15 lines
165 B
Plaintext
struct Foo {
|
|
x: u32
|
|
y: u32
|
|
}
|
|
|
|
function main(a: private fe) {
|
|
let b = a + 1fe;
|
|
assert_eq(b, 2fe);
|
|
|
|
let c = Foo {
|
|
x: 4,
|
|
y: 5,
|
|
};
|
|
|
|
} |