diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-09-27 23:37:33 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-09-27 23:39:08 +1000 |
| commit | ac81cee3fc554722d8d7471eee33ad3bd1cf30af (patch) | |
| tree | f426c054275a285f037db8fcef36d756d43d7db8 /tests/micropython/viper_const_intbig.py | |
| parent | 2e862332630e2838d06b293f35fdd76ab7c9d714 (diff) | |
tests/micropython: Test loading const objs in native and viper funcs.
Diffstat (limited to 'tests/micropython/viper_const_intbig.py')
| -rw-r--r-- | tests/micropython/viper_const_intbig.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/micropython/viper_const_intbig.py b/tests/micropython/viper_const_intbig.py new file mode 100644 index 000000000..6b4497388 --- /dev/null +++ b/tests/micropython/viper_const_intbig.py @@ -0,0 +1,7 @@ +# check loading constants + +@micropython.viper +def f(): + return 123456789012345678901234567890 + +print(f()) |
