Implement stack persistance for nested async
[mono.git] / mcs / tests / test-partial-08.cs
index 34bcdadfa5f35375491f96538756a35fd765f7d6..0d1bfca143abff2ca8156ec121343f179ac1d57f 100644 (file)
@@ -11,10 +11,13 @@ public sealed partial class Foo
 
 public class PartialAbstractCompilationError
 {
-       public static void Main ()
+       public static int Main ()
        {
                if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
-                       throw new System.ApplicationException ();
+                       return 1;
+               
+               System.Console.WriteLine ("OK");
+               return 0;
        }
 }