* 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.
svn path=/trunk/mcs/; revision=86423
+2007-09-26 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * 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 <drieseng@users.sourceforge.net>
* test-586.cs: test for bug #325841.
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
test-xml-027.cs
test-562.cs
test-586.cs
+test-587.cs
+test-588.cs
--- /dev/null
+// 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;
+ }
+ }
+}
+
--- /dev/null
+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 ();
+ }
+}