leo/tests/compiler/tuple/tuple_in_assignment.leo
2022-11-08 15:49:47 -08:00

14 lines
209 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
program test.aleo {
transition baz(foo: u8, bar: u16) -> u8 {
let a: (u8, u16) = (foo, bar);
a = (3u8, 4u16);
return 1u8 + 1u8;
}
}