summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2009-01-15 00:05:41 +0100
committerGuillaume Seguin <guillaume@segu.in>2009-01-15 00:05:41 +0100
commitc8118e8227b684b76b5933f24631bef594300718 (patch)
treedf8de896e67d996c397b007172c7b5c667e7a540 /tests
parent338f5a08c0779cfddd60f5b0fe5f544e896a2b3f (diff)
downloadpetitcaml-c8118e8227b684b76b5933f24631bef594300718.tar.gz
petitcaml-c8118e8227b684b76b5933f24631bef594300718.tar.bz2
[petitcaml] Add test for integer overflow and update tests runner
Diffstat (limited to 'tests')
-rw-r--r--tests/lexing/integer-overflow.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lexing/integer-overflow.ml b/tests/lexing/integer-overflow.ml
new file mode 100644
index 0000000..30478dd
--- /dev/null
+++ b/tests/lexing/integer-overflow.ml
@@ -0,0 +1,6 @@
+(*
+ return : 1
+ output :
+Erreur dans l'analyse lexicale (entier invalide)
+*)
+let _ = 100000000000