home
/
code
/
tiger.ml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test every book test case
[tiger.ml.git]
/
compiler
/
testcases
/
test39.tig
diff --git a/compiler/testcases/test39.tig
b/compiler/testcases/test39.tig
new file mode 100644
(file)
index 0000000..
3cccaa9
--- /dev/null
+++ b/
compiler/testcases/test39.tig
@@ -0,0
+1,9
@@
+/* This is illegal, since there are two functions with the same name
+ in the same (consecutive) batch of mutually recursive functions.
+ See also test48 */
+let
+ function g(a:int):int = a
+ function g(a:int):int = a
+in
+ 0
+end
This page took
0.026907 seconds
and
4
git commands to generate.