leo/tests/compiler/group/zero.leo

11 lines
174 B
Plaintext
Raw Normal View History

2022-08-02 01:33:26 +03:00
/*
namespace: Compile
expectation: Pass
input_file: inputs/scalar_group.in
*/
function main(a: scalar) -> group {
let element: group = 0group;
return element * a;
}