Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2008-12-19 18:02:59 +0300
committerMarek Safar <marek.safar@gmail.com>2008-12-19 18:02:59 +0300
commita57ea8054f9aa8d23cc011720f32a36321d97b0c (patch)
treeeb94a4bc1301aa2f499310c4790b591028d22742 /mcs/tests/test-684.cs
parent3c666ed0337fc5bbbbb5ec6322826573d5509297 (diff)
Set svn:eol-style
svn path=/trunk/mcs/; revision=121849
Diffstat (limited to 'mcs/tests/test-684.cs')
-rw-r--r--mcs/tests/test-684.cs72
1 files changed, 36 insertions, 36 deletions
diff --git a/mcs/tests/test-684.cs b/mcs/tests/test-684.cs
index 6062c084c71..9edbc9f70d5 100644
--- a/mcs/tests/test-684.cs
+++ b/mcs/tests/test-684.cs
@@ -1,36 +1,36 @@
-using System;
-
-namespace mono_bug
-{
- class Program
- {
- static void Main ()
- {
-
- // initialise so no null errors
- double [,] [] foo = new double [1, 1] [];
- foo [0, 0] = new double [2];
-
- double [,] [] bar;
-
- bar = (double [,] []) foo.Clone ();
-
- bar = (double [,] []) ReturnArray ();
-
- // compiles & works correctly
- bar = ReturnArray ();
-
- Console.WriteLine (bar [0, 0] [1].ToString ());
- }
-
- private static double [,] [] ReturnArray ()
- {
- // just creates a "useless", multi-dimensional jagged array
- double [,] [] zoo = new double [1, 1] [];
- zoo [0, 0] = new double [2];
- zoo [0, 0] [0] = 1;
- zoo [0, 0] [1] = 2;
- return zoo;
- }
- }
-}
+using System;
+
+namespace mono_bug
+{
+ class Program
+ {
+ static void Main ()
+ {
+
+ // initialise so no null errors
+ double [,] [] foo = new double [1, 1] [];
+ foo [0, 0] = new double [2];
+
+ double [,] [] bar;
+
+ bar = (double [,] []) foo.Clone ();
+
+ bar = (double [,] []) ReturnArray ();
+
+ // compiles & works correctly
+ bar = ReturnArray ();
+
+ Console.WriteLine (bar [0, 0] [1].ToString ());
+ }
+
+ private static double [,] [] ReturnArray ()
+ {
+ // just creates a "useless", multi-dimensional jagged array
+ double [,] [] zoo = new double [1, 1] [];
+ zoo [0, 0] = new double [2];
+ zoo [0, 0] [0] = 1;
+ zoo [0, 0] [1] = 2;
+ return zoo;
+ }
+ }
+}