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:
authorJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-03 20:33:10 +0300
committerJaime Anguiano Olarra <jaime@mono-cvs.ximian.com>2002-12-03 20:33:10 +0300
commitef029ba358a98a18edd5ded5efdf802f11737b1a (patch)
tree29acca660f2156184ef8059afd3f0c65af0545e2 /mcs/errors/cs0074.cs
parentc4885b2537b98dcad136bff88d4d3c06ff358b2e (diff)
With these new tests (73-79) we have completed the tests from CS0001 to
CS0100 for the compiler. svn path=/trunk/mcs/; revision=9369
Diffstat (limited to 'mcs/errors/cs0074.cs')
-rw-r--r--mcs/errors/cs0074.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0074.cs b/mcs/errors/cs0074.cs
new file mode 100644
index 00000000000..d644e1aaf1f
--- /dev/null
+++ b/mcs/errors/cs0074.cs
@@ -0,0 +1,12 @@
+// cs0074.cs: Abstracts events can't have initializers.
+// Line: 8
+
+using System;
+
+abstract class ErrorCS0074 {
+ delegate void Handler ();
+ public abstract event Handler OnFoo = null;
+ public static void Main () {
+ }
+}
+