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:
authorRaja R Harinath <harinath@hurrynot.org>2005-05-05 13:01:36 +0400
committerRaja R Harinath <harinath@hurrynot.org>2005-05-05 13:01:36 +0400
commitf9522fad3cdfaedf8368b72f47806d55cfbc2a19 (patch)
treed4a818a8d9a67f1e49bc811de2f040c9ee149c24 /mcs/tests/test-374.cs
parent59580fe54fbd3c7f06f5ea68ba949ffcf9afb3ae (diff)
In mcs:
Fix reopened #64812. * typemanager.cs (Closure.Filter): Introduce checks for 'protected internal'. In tests: * test-374.cs: New test based on #64812. In errors: * Makefile (%-lib.dll, %-module.dll): Build during 'make test' or 'make run-test'. * cs0122-14.cs, cs0122-15.cs, CS0122-14-lib.cs, CS0122-15-lib.cs: New tests based on #64812. svn path=/trunk/mcs/; revision=44066
Diffstat (limited to 'mcs/tests/test-374.cs')
-rw-r--r--mcs/tests/test-374.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/test-374.cs b/mcs/tests/test-374.cs
new file mode 100644
index 00000000000..e95a4e713b6
--- /dev/null
+++ b/mcs/tests/test-374.cs
@@ -0,0 +1,10 @@
+internal class Test
+{
+ protected internal const int foo = 0;
+}
+internal class Rest
+{
+ protected const int foo = Test.foo;
+
+ static void Main () {}
+}