diff options
Diffstat (limited to 'mcs/tests')
-rw-r--r-- | mcs/tests/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/tests/test-493.cs | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/ChangeLog b/mcs/tests/ChangeLog index edfa77218f2..c3d2103f8b0 100644 --- a/mcs/tests/ChangeLog +++ b/mcs/tests/ChangeLog @@ -1,3 +1,7 @@ +2006-03-01 Raja R Harinath <rharinath@novell.com> + + * test-493.cs: New test from #77628. + 2006-02-27 Marek Safar <marek.safar@seznam.cz> * test-492.cs: Another attribute tests. diff --git a/mcs/tests/test-493.cs b/mcs/tests/test-493.cs new file mode 100644 index 00000000000..b427f77f889 --- /dev/null +++ b/mcs/tests/test-493.cs @@ -0,0 +1,11 @@ +class A { + protected int f { get { return 1; } } +} + +class B : A { + int bar () { return new C().f; } + } + +class C : B { + static void Main () {} +} |