Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2003-04-19 02:28:42 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-04-19 02:28:42 +0400
commit0584c5275489dfdf358f2c09c2267cea6d1f824c (patch)
tree948434e8070c49f7ceba558a90e9ef2e897f5011 /mcs/errors/cs0019-6.cs
parent1dbc33f40736a958be679495c44e2105f66460a9 (diff)
Another test file
svn path=/trunk/mcs/; revision=13792
Diffstat (limited to 'mcs/errors/cs0019-6.cs')
-rw-r--r--mcs/errors/cs0019-6.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/errors/cs0019-6.cs b/mcs/errors/cs0019-6.cs
new file mode 100644
index 00000000000..e94f107dc8b
--- /dev/null
+++ b/mcs/errors/cs0019-6.cs
@@ -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);
+ }
+}