leo/tests/compiler/scalar/div_fail.leo
2022-10-05 16:53:49 -07:00

12 lines
226 B
Plaintext

/*
namespace: Compile
expectation: Fail
input_file:
- inputs/scalars.in
*/
program test.aleo {
function main(a: scalar, b: scalar) -> scalar {
return a / b; // division not supported for scalar types.
}}