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>2009-03-27 19:22:29 +0300
committerMarek Safar <marek.safar@gmail.com>2009-03-27 19:22:29 +0300
commitb1d9489d43df186610426ddae340245ed3271134 (patch)
tree663cb5bb1549880b6a2e68e4e714bc153ddadcb1 /mcs/tests/test-718.cs
parentc4274ee9e8472a5893632c9918098080a623c78f (diff)
New tests.
svn path=/trunk/mcs/; revision=130405
Diffstat (limited to 'mcs/tests/test-718.cs')
-rw-r--r--mcs/tests/test-718.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/mcs/tests/test-718.cs b/mcs/tests/test-718.cs
new file mode 100644
index 00000000000..cf70d3b2732
--- /dev/null
+++ b/mcs/tests/test-718.cs
@@ -0,0 +1,20 @@
+using System;
+
+class A
+{
+ public static void Foo (int x, int y)
+ {
+ }
+}
+
+sealed class B : A
+{
+ public static void Main ()
+ {
+ Foo (1, 2);
+ }
+
+ void Foo (int i)
+ {
+ }
+}