Author: marek
Date: 2007-06-18 13:24:46 -0400 (Mon, 18 Jun 2007)
New Revision: 80027
Removed:
trunk/mcs/tests/gtest-var-06.cs
Log:
Removed invalid test.
Deleted: trunk/mcs/tests/gtest-var-06.cs
===================================================================
--- trunk/mcs/tests/gtest-var-06.cs 2007-06-18 17:14:54 UTC (rev 80026)
+++ trunk/mcs/tests/gtest-var-06.cs 2007-06-18 17:24:46 UTC (rev 80027)
@@ -1,25 +0,0 @@
-// Compiler options: -langversion:linq -unsafe
-// Tests variable type inference with the var keyword when using the "fixed"
statement
-using System;
-
-public class Point
-{
- public int X;
- public int Y;
-}
-
-public class Test
-{
- unsafe static int Main ()
- {
- Point p = new Point ();
- p.X = 42;
- p.Y = 16;
-
- fixed (var x = &p.X)
- if (*x != 42)
- return 1;
-
- return 0;
- }
-}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches