From: Marek Safar Date: Mon, 2 Jun 2008 10:57:44 +0000 (-0000) Subject: New test. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=5e16f47fd7317dc56dc390c07c829c599698da72;p=mono.git New test. svn path=/trunk/mcs/; revision=104653 --- diff --git a/mcs/tests/gtest-autoproperty-04.cs b/mcs/tests/gtest-autoproperty-04.cs index 6d5279d810a..f83b520c587 100644 --- a/mcs/tests/gtest-autoproperty-04.cs +++ b/mcs/tests/gtest-autoproperty-04.cs @@ -1,14 +1,20 @@ -// Compiler options: -unsafe +using System; -namespace N +namespace MonoTests { - public class BufferManager + public abstract class MainClass { - public unsafe byte *Ptr { get; private set; } - - public static void Main () + protected virtual string [] foo { get; set; } + public abstract string [] bar { get; set; } + + public static void Main (string [] args) { + Console.WriteLine ("Hello World!"); } } + public class ChildClass : MainClass + { + protected override string [] foo { get; set; } + public override string [] bar { get; set; } + } } - diff --git a/mcs/tests/ver-il-gmcs.xml b/mcs/tests/ver-il-gmcs.xml index e0abaf89e2e..03c4a76efda 100644 --- a/mcs/tests/ver-il-gmcs.xml +++ b/mcs/tests/ver-il-gmcs.xml @@ -12054,18 +12054,41 @@ - + 7 - + 7 - + 8 - - 1 + + 0 + + + 0 + + + 11 + + + + + 7 + + + 7 + + + 8 + + + 7 + + + 8