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>2012-06-14 17:00:51 +0400
committerMarek Safar <marek.safar@gmail.com>2012-06-14 17:01:49 +0400
commit85ebc98cd826e57b45f9c978be460918ed60de49 (patch)
tree25edd626ec3aa1f3ad682d918fed4a75d7b61349 /mcs/tests/test-846.cs
parentefc7984344319b0a281f0811c957ccaa26217150 (diff)
When checking override base method also check for declaring type visibility
Diffstat (limited to 'mcs/tests/test-846.cs')
-rw-r--r--mcs/tests/test-846.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/test-846.cs b/mcs/tests/test-846.cs
new file mode 100644
index 00000000000..ca5373124de
--- /dev/null
+++ b/mcs/tests/test-846.cs
@@ -0,0 +1,10 @@
+// Compiler options: -r:test-846-lib.dll
+
+class Test
+{
+ public static int Main ()
+ {
+ new B ().Foo ();
+ return 0;
+ }
+} \ No newline at end of file