Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test out-of-bounds access on managed array.

  • Loading branch information...
commit 05c4d49adb1185d29579f139211c788466820466 1 parent c9d7e10
@arnsholt arnsholt authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  t/05-arrays.t
View
3  t/05-arrays.t
@@ -62,6 +62,9 @@ compile_test_lib('05-arrays');
@arr[0].set(7);
@arr[1].set(11);
@arr[2].set(13);
+
+ is_deeply @arr[100], Struct, 'out-of-bounds access on managed array';
+
TakeAStructArray(@arr);
}
Please sign in to comment.
Something went wrong with that request. Please try again.