leo/tests/compiler/scalar/div_fail.leo
2022-07-28 16:46:30 -07:00

10 lines
188 B
Plaintext

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