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 17:19:33 +0400
committerMarek Safar <marek.safar@gmail.com>2004-06-16 17:19:33 +0400
commit809f24fe47e875766f3da70ffabf307a815dbff7 (patch)
treed3e49329ffa3c61bb2f9d5629812a3cb8adc3fdf /mcs/errors/cs0109-5.cs
parentce7abd8456d2eb7df7616585cca970d2e461eab1 (diff)
new tests
svn path=/trunk/mcs/; revision=29685
Diffstat (limited to 'mcs/errors/cs0109-5.cs')
-rw-r--r--mcs/errors/cs0109-5.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0109-5.cs b/mcs/errors/cs0109-5.cs
new file mode 100644
index 00000000000..1ebf2b7c672
--- /dev/null
+++ b/mcs/errors/cs0109-5.cs
@@ -0,0 +1,11 @@
+// cs0109.cs: The member 'Derived.Test()' does not hide an inherited member. The new keyword is not required
+// Line: 10
+// Compiler options: -warnaserror -warn:4
+
+class Base {
+ void Test (bool arg) {}
+}
+
+class Derived : Base {
+ new void Test () {}
+} \ No newline at end of file