projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement stack persistance for nested async
[mono.git]
/
mcs
/
tests
/
test-partial-08.cs
diff --git
a/mcs/tests/test-partial-08.cs
b/mcs/tests/test-partial-08.cs
index 34bcdadfa5f35375491f96538756a35fd765f7d6..0d1bfca143abff2ca8156ec121343f179ac1d57f 100644
(file)
--- a/
mcs/tests/test-partial-08.cs
+++ b/
mcs/tests/test-partial-08.cs
@@
-11,10
+11,13
@@
public sealed partial class Foo
public class PartialAbstractCompilationError
{
public class PartialAbstractCompilationError
{
- public static
void
Main ()
+ public static
int
Main ()
{
if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
{
if (typeof (Foo).IsAbstract || !typeof (Foo).IsSealed)
- throw new System.ApplicationException ();
+ return 1;
+
+ System.Console.WriteLine ("OK");
+ return 0;
}
}
}
}