diff options
Diffstat (limited to 'tests/micropython/viper_const.py')
-rw-r--r-- | tests/micropython/viper_const.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/micropython/viper_const.py b/tests/micropython/viper_const.py index 5085ede90..230b282f2 100644 --- a/tests/micropython/viper_const.py +++ b/tests/micropython/viper_const.py @@ -1,14 +1,21 @@ # test loading constants in viper functions + @micropython.viper def f(): - return b'bytes' + return b"bytes" + + print(f()) + @micropython.viper def f(): @micropython.viper def g() -> int: return 123 + return g + + print(f()()) |