summaryrefslogtreecommitdiffstatshomepage
path: root/tests/micropython/native_const_intbig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/native_const_intbig.py')
-rw-r--r--tests/micropython/native_const_intbig.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/micropython/native_const_intbig.py b/tests/micropython/native_const_intbig.py
new file mode 100644
index 0000000000..611b39d8fe
--- /dev/null
+++ b/tests/micropython/native_const_intbig.py
@@ -0,0 +1,7 @@
+# check loading constants
+
+@micropython.native
+def f():
+ return 123456789012345678901234567890
+
+print(f())