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:
authorMarek Safar <marek.safar@gmail.com>2004-06-16 21:29:27 +0400
committerMarek Safar <marek.safar@gmail.com>2004-06-16 21:29:27 +0400
commit19f5449e5187fc1c31c723ab53f840fce697c155 (patch)
treee607eb421c1251370d2ac58a1c74aae5ba2ce7a7 /mcs/errors/cs0108-10.cs
parent58c3cc6ef9e6b0fd43032e3a3f9e0eee23eb382d (diff)
new test
svn path=/trunk/mcs/; revision=29696
Diffstat (limited to 'mcs/errors/cs0108-10.cs')
-rw-r--r--mcs/errors/cs0108-10.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0108-10.cs b/mcs/errors/cs0108-10.cs
new file mode 100644
index 00000000000..152a671596b
--- /dev/null
+++ b/mcs/errors/cs0108-10.cs
@@ -0,0 +1,12 @@
+// cs0108.cs: The new keyword is required on 'Derived.EE' because it hides inherited member
+// Line: 11
+
+class Base {
+ public enum EE {
+ Item
+ };
+}
+
+class Derived : Base {
+ public int EE;
+}