Another test file
authorMiguel de Icaza <miguel@gnome.org>
Fri, 18 Apr 2003 22:28:42 +0000 (22:28 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 18 Apr 2003 22:28:42 +0000 (22:28 -0000)
svn path=/trunk/mcs/; revision=13792

mcs/errors/cs0019-6.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0019-6.cs b/mcs/errors/cs0019-6.cs
new file mode 100644 (file)
index 0000000..e94f107
--- /dev/null
@@ -0,0 +1,20 @@
+enum A
+{
+        A1,
+        A2
+}
+
+enum B
+{
+        B1,
+        B2
+}
+
+class C
+{
+        static void Main ()
+        {
+                A a = A.A1;
+                System.Console.WriteLine (a == B.B1);
+        }
+}