Author: marek
Date: 2007-03-25 07:35:41 -0500 (Sun, 25 Mar 2007)
New Revision: 74956

Added:
   trunk/mcs/tests/test-568.cs
Log:
New test.

Added: trunk/mcs/tests/test-568.cs
===================================================================
--- trunk/mcs/tests/test-568.cs 2007-03-25 12:34:53 UTC (rev 74955)
+++ trunk/mcs/tests/test-568.cs 2007-03-25 12:35:41 UTC (rev 74956)
@@ -0,0 +1,15 @@
+// Compiler options: -warn:4 -warnaserror
+
+// Test invalid CS0108 warning for enum member hiding
+
+enum E
+{
+       Format
+}
+
+class B
+{
+       public static void Main ()
+       {
+       }
+}
\ No newline at end of file


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

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

Reply via email to