From 759d6e5103f3a762bcb6fa2e5e687d36fe3009de Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Wed, 5 May 2010 19:05:55 +0000 Subject: [PATCH] New test. svn path=/trunk/mcs/; revision=156746 --- mcs/tests/test-757.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mcs/tests/test-757.cs diff --git a/mcs/tests/test-757.cs b/mcs/tests/test-757.cs new file mode 100644 index 00000000000..e7ff12146fb --- /dev/null +++ b/mcs/tests/test-757.cs @@ -0,0 +1,15 @@ +public class TestClass1 +{ + void Test () + { + double[] zCoords = new double[long.MaxValue]; + zCoords = new double[ulong.MaxValue]; + zCoords = new double[uint.MaxValue]; + } + + public static int Main () + { + double[] zCoords = new double[2 * 2] { 1, 2, 3, 4 }; + return 0; + } +} -- 2.25.1