leo/tests/compiler/statements/operations/pow_assign.leo
2022-10-05 16:53:49 -07:00

23 lines
394 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_files: ../inputs/shift_and_pow.in
*/
program test.aleo {
transition unsigned(a: u8, b: u8, c: u16, d: u32) -> u8 {
a **= b;
a **= c;
a **= d;
return a;
}
function signed(a: i8, b: u8, c: u16, d: u32) -> i8 {
a **= b;
a **= c;
a **= d;
return a;
}}