add decimal suffix test
This commit is contained in:
parent
33be94a984
commit
856a78a378
1 changed files with 4 additions and 0 deletions
4
zokrates_cli/examples/decimal_literal.zok
Normal file
4
zokrates_cli/examples/decimal_literal.zok
Normal file
|
@ -0,0 +1,4 @@
|
|||
def main() -> field:
|
||||
field a = 1f
|
||||
field b = 1_f // allow underscore between the literal and the suffix
|
||||
return a + b
|
Loading…
Reference in a new issue