diff options
author | John Luke <jluke@mono-cvs.ximian.com> | 2004-10-01 21:42:18 +0400 |
---|---|---|
committer | John Luke <jluke@mono-cvs.ximian.com> | 2004-10-01 21:42:18 +0400 |
commit | ac5cb1f8a9080e1e27e2fdb57da8522475ba5d7e (patch) | |
tree | 569aba201a3d0a006ce362dd962af84734cfdc0b /mcs/errors/cs0561.cs | |
parent | c1e8d7d744557fac93c71a9fcd0aa568eca61119 (diff) |
2004-10-01 John Luke <john.luke@gmail.com>
* *.cs: fix some incorrect tests by either addding a Main method,
or adding a -t:library compiler option. Makes one test pass, and adds
19 to *-expect-wrong-error as they compile when they shouldn't
* *mcs-expect-*-error: update
svn path=/trunk/mcs/; revision=34599
Diffstat (limited to 'mcs/errors/cs0561.cs')
-rw-r--r-- | mcs/errors/cs0561.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/errors/cs0561.cs b/mcs/errors/cs0561.cs index ecca1cafb31..95adcda7e81 100644 --- a/mcs/errors/cs0561.cs +++ b/mcs/errors/cs0561.cs @@ -13,4 +13,6 @@ class DerivedClass: BaseClass { protected override int get_Value () {
return 1;
}
+
+ static void Main () {}
}
|