same bug, cleaner testcase
problem in c5helper() this time
Index: Kernel/Tests/CS/Misc.cs
===================================================================
--- Kernel/Tests/CS/Misc.cs	(wersja 870)
+++ Kernel/Tests/CS/Misc.cs	(kopia robocza)
@@ -155,5 +155,26 @@
 
 			return 0;
 		}
+
+		// bug regression test - PHI operants index problem
+		private class B
+		{
+			public void c5test(int i) {}
+		}
+		private class C
+		{
+			public static B b;
+		}
+		public static void c5helper (bool a)
+		{
+			C.b.c5test(a?1:2);
+		}
+
+		public static uint CMP5 ()
+		{
+			C.b = new B();
+			c5helper(true);
+			return 1;
+		}
 	}
 }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to