diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-10-14 11:06:26 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-10-14 11:06:26 -0400 |
commit | 7bf0a0124a6c8a834983a660af53d8789ac0a8ac (patch) | |
tree | 628ead017a0f1cf2138f9f9b08088debf81e1ce5 /tests | |
parent | 4e608544ebe87dd991d53ded5267f14f5df93b8b (diff) |
Interface for setting memory limits
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hog.ur | 7 | ||||
-rw-r--r-- | tests/hog.urp | 1 | ||||
-rw-r--r-- | tests/hog.urs | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/hog.ur b/tests/hog.ur new file mode 100644 index 00000000..419d202d --- /dev/null +++ b/tests/hog.ur @@ -0,0 +1,7 @@ +fun more n = + if n <= 0 then + "!" + else + more (n-1) ^ more (n-1) + +fun main n = return <xml>{[more n]}</xml> diff --git a/tests/hog.urp b/tests/hog.urp new file mode 100644 index 00000000..615fb529 --- /dev/null +++ b/tests/hog.urp @@ -0,0 +1 @@ +hog diff --git a/tests/hog.urs b/tests/hog.urs new file mode 100644 index 00000000..38b757ea --- /dev/null +++ b/tests/hog.urs @@ -0,0 +1 @@ +val main : int -> transaction page |