summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/bugs/3363-json-large-number.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/bugs/3363-json-large-number.typ b/tests/typ/bugs/3363-json-large-number.typ
new file mode 100644
index 00000000..57d37f1b
--- /dev/null
+++ b/tests/typ/bugs/3363-json-large-number.typ
@@ -0,0 +1,8 @@
+// Big numbers (larger than what i64 can store) should just lose some precision
+// but not overflow
+// https://github.com/typst/typst/issues/3363
+// Ref: false
+
+#let bignum = json("/assets/data/big-number.json")
+
+#bignum \ No newline at end of file