Skip to content
Browse files

new test

svn path=/trunk/mono/; revision=4713
  • Loading branch information...
1 parent 1f61441 commit b3dc3924907b37b1b6cdacddf6d2a353d5cd9249 Dietmar Maurer committed May 17, 2002
Showing with 19 additions and 1 deletion.
  1. +2 −1 mono/tests/Makefile.am
  2. +17 −0 mono/tests/bound.cs
View
3 mono/tests/Makefile.am
@@ -103,7 +103,8 @@ TESTSRC= \
largeexp2.cs \
marshalbyref1.cs \
static-ctor.cs \
- inctest.cs
+ inctest.cs \
+ bound.cs
TESTSI=$(TESTSRC:.cs=.exe)
View
17 mono/tests/bound.cs
@@ -0,0 +1,17 @@
+using System;
+
+public class Bound {
+ public static int Main () {
+
+ try {
+
+ byte [] b = new byte [0];
+ b [0] = 128;
+ return 1;
+ } catch {
+ return 0;
+ }
+ return 0;
+ }
+}
+

0 comments on commit b3dc392

Please sign in to comment.
Something went wrong with that request. Please try again.