summaryrefslogtreecommitdiff
path: root/testsuite/tests/asmgen/checkbound.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/asmgen/checkbound.cmm')
-rw-r--r--testsuite/tests/asmgen/checkbound.cmm20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/tests/asmgen/checkbound.cmm b/testsuite/tests/asmgen/checkbound.cmm
new file mode 100644
index 0000000000..35206f25bb
--- /dev/null
+++ b/testsuite/tests/asmgen/checkbound.cmm
@@ -0,0 +1,20 @@
+(**************************************************************************)
+(* *)
+(* OCaml *)
+(* *)
+(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
+(* *)
+(* Copyright 1996 Institut National de Recherche en Informatique et *)
+(* en Automatique. *)
+(* *)
+(* All rights reserved. This file is distributed under the terms of *)
+(* the GNU Lesser General Public License version 2.1, with the *)
+(* special exception on linking described in the file LICENSE. *)
+(* *)
+(**************************************************************************)
+
+(function "checkbound2" (x: int y: int)
+ (checkbound x y))
+
+(function "checkbound1" (x: int)
+ (checkbound x 2))