Author: gert
Date: 2006-11-19 04:32:53 -0500 (Sun, 19 Nov 2006)
New Revision: 68144

Added:
   trunk/mcs/tests/gtest-297.cs
   trunk/mcs/tests/test-539.cs
Modified:
   trunk/mcs/tests/ChangeLog
   trunk/mcs/tests/known-issues-gmcs
Log:
* test-539.cs, gtest-297.cs: Added tests for bug #79810.
* known-issues-gmcs: Ignore test-539.cs for gmcs.


Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog   2006-11-19 09:29:03 UTC (rev 68143)
+++ trunk/mcs/tests/ChangeLog   2006-11-19 09:32:53 UTC (rev 68144)
@@ -1,3 +1,8 @@
+2006-11-19  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * test-539.cs, gtest-297.cs: Added tests for bug #79810.
+       * known-issues-gmcs: Ignore test-539.cs for gmcs.
+
 2006-10-27  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * test-xml-052.cs, test-xml-052-ref.xml : new test for bug #79754.

Added: trunk/mcs/tests/gtest-297.cs
===================================================================
--- trunk/mcs/tests/gtest-297.cs        2006-11-19 09:29:03 UTC (rev 68143)
+++ trunk/mcs/tests/gtest-297.cs        2006-11-19 09:32:53 UTC (rev 68144)
@@ -0,0 +1,17 @@
+// Compiler options: -warnaserror -warn:4
+
+using System;
+using System.Runtime.CompilerServices;
+
+[assembly: RuntimeCompatibility (WrapNonExceptionThrows=false)]
+
+public class Test
+{
+       static void Main ()
+       {
+               try {
+               } catch (Exception) {
+               } catch {
+               }
+       }
+}


Property changes on: trunk/mcs/tests/gtest-297.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/mcs/tests/known-issues-gmcs
===================================================================
--- trunk/mcs/tests/known-issues-gmcs   2006-11-19 09:29:03 UTC (rev 68143)
+++ trunk/mcs/tests/known-issues-gmcs   2006-11-19 09:32:53 UTC (rev 68144)
@@ -8,6 +8,7 @@
 test-67.cs IGNORE      # Windows-only test
 test-xml-027.cs
 test-476.cs
+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.
 
 gtest-230.cs
 gtest-291.cs IGNORE

Added: trunk/mcs/tests/test-539.cs
===================================================================
--- trunk/mcs/tests/test-539.cs 2006-11-19 09:29:03 UTC (rev 68143)
+++ trunk/mcs/tests/test-539.cs 2006-11-19 09:32:53 UTC (rev 68144)
@@ -0,0 +1,14 @@
+// Compiler options: -warnaserror -warn:4
+
+using System;
+
+public class Test
+{
+       static void Main ()
+       {
+               try {
+               } catch (Exception) {
+               } catch {
+               }
+       }
+}


Property changes on: trunk/mcs/tests/test-539.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to