Author: gert
Date: 2007-09-26 13:53:51 -0400 (Wed, 26 Sep 2007)
New Revision: 86423
Added:
trunk/mcs/tests/test-587.cs
trunk/mcs/tests/test-588.cs
Modified:
trunk/mcs/tests/ChangeLog
trunk/mcs/tests/known-issues-gmcs
trunk/mcs/tests/known-issues-mcs
Log:
* test-587.cs: test for bug #328136.
* test-588.cs: test for bug #328490.
* known-issues-gmcs: added test-587.cs and test-588.cs.
* known-issues-mcs: added test-587.cs and test-588.cs.
Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog 2007-09-26 17:33:23 UTC (rev 86422)
+++ trunk/mcs/tests/ChangeLog 2007-09-26 17:53:51 UTC (rev 86423)
@@ -1,3 +1,10 @@
+2007-09-26 Gert Driesen <[EMAIL PROTECTED]>
+
+ * test-587.cs: test for bug #328136.
+ * test-588.cs: test for bug #328490.
+ * known-issues-gmcs: added test-587.cs and test-588.cs.
+ * known-issues-mcs: added test-587.cs and test-588.cs.
+
2007-09-18 Gert Driesen <[EMAIL PROTECTED]>
* test-586.cs: test for bug #325841.
Modified: trunk/mcs/tests/known-issues-gmcs
===================================================================
--- trunk/mcs/tests/known-issues-gmcs 2007-09-26 17:33:23 UTC (rev 86422)
+++ trunk/mcs/tests/known-issues-gmcs 2007-09-26 17:53:51 UTC (rev 86423)
@@ -10,6 +10,8 @@
test-539.cs IGNORE # In 2.0 profile, RuntimeCompatilityAttribute is added
by default with WrapNonExceptionThrows set to true and conditional compilation
symbols are not provided yet.
test-562.cs
test-586.cs
+test-587.cs
+test-588.cs
gtest-230.cs
Modified: trunk/mcs/tests/known-issues-mcs
===================================================================
--- trunk/mcs/tests/known-issues-mcs 2007-09-26 17:33:23 UTC (rev 86422)
+++ trunk/mcs/tests/known-issues-mcs 2007-09-26 17:53:51 UTC (rev 86423)
@@ -10,3 +10,5 @@
test-xml-027.cs
test-562.cs
test-586.cs
+test-587.cs
+test-588.cs
Added: trunk/mcs/tests/test-587.cs
===================================================================
--- trunk/mcs/tests/test-587.cs 2007-09-26 17:33:23 UTC (rev 86422)
+++ trunk/mcs/tests/test-587.cs 2007-09-26 17:53:51 UTC (rev 86423)
@@ -0,0 +1,19 @@
+// Compiler options: -nowarn:0162
+
+class Program
+{
+ static int Main ()
+ {
+ int ctc_f = 0;
+
+ if ((++ctc_f == 0 && false)) {
+ return 1;
+ } else {
+ if (ctc_f != 1) {
+ return 2;
+ }
+ return 0;
+ }
+ }
+}
+
Property changes on: trunk/mcs/tests/test-587.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/tests/test-588.cs
===================================================================
--- trunk/mcs/tests/test-588.cs 2007-09-26 17:33:23 UTC (rev 86422)
+++ trunk/mcs/tests/test-588.cs 2007-09-26 17:53:51 UTC (rev 86423)
@@ -0,0 +1,38 @@
+using System;
+using TestNamespace;
+
+namespace TestNamespace
+{
+ public class TestClass
+ {
+ public static void HelloWorld ()
+ {
+ }
+ }
+}
+
+class SuperClass
+{
+ TestClass tc = null;
+
+ TestClass TestClass
+ {
+ get { return tc; }
+ }
+}
+
+class SubClass : SuperClass
+{
+ public SubClass ()
+ {
+ TestClass.HelloWorld ();
+ }
+}
+
+class App
+{
+ public static void Main ()
+ {
+ SubClass sc = new SubClass ();
+ }
+}
Property changes on: trunk/mcs/tests/test-588.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches