mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 17:51:39 +03:00
10 lines
190 B
Plaintext
10 lines
190 B
Plaintext
|
/*
|
||
|
namespace: Compile
|
||
|
expectation: Fail
|
||
|
input_file:
|
||
|
- inputs/scalars.in
|
||
|
*/
|
||
|
|
||
|
function main(a: scalar) -> scalar {
|
||
|
return a.square_root(); // square root not supported for scalar types.
|
||
|
}
|