diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-06-03 15:32:31 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-06-03 15:32:31 +0400 |
commit | 8ca370f68e34444d40551249a9e9717946a02666 (patch) | |
tree | d1fa595571f330e729e5e39ff8b6847dac762867 /mcs/errors/cs1540-3.cs | |
parent | 5930670e362a5491cb14ea30b32f09cc329d8aff (diff) |
New testcases for bug #50820.
svn path=/trunk/mcs/; revision=28760
Diffstat (limited to 'mcs/errors/cs1540-3.cs')
-rw-r--r-- | mcs/errors/cs1540-3.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/errors/cs1540-3.cs b/mcs/errors/cs1540-3.cs new file mode 100644 index 00000000000..158a8b22902 --- /dev/null +++ b/mcs/errors/cs1540-3.cs @@ -0,0 +1,18 @@ +class A +{ + protected int n; +} + +class B : A +{ +} + +class C : A +{ + static B b = new B (); + + static void Main () + { + b.n = 1; + } +} |