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/cs0108-2.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/cs0108-2.cs')
-rw-r--r-- | mcs/errors/cs0108-2.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/errors/cs0108-2.cs b/mcs/errors/cs0108-2.cs index 7982d04ee04..7df3c8a8237 100644 --- a/mcs/errors/cs0108-2.cs +++ b/mcs/errors/cs0108-2.cs @@ -1,6 +1,6 @@ // cs0108-2.cs: The new keyword is required on 'Derived.Test(bool)' because it hides 'BaseInterface.Test(bool)' // Line: 9 -// Compiler options: -warnaserror -warn:1 +// Compiler options: -warnaserror -warn:1 -t:library interface BaseInterface { void Test (bool arg); @@ -8,4 +8,4 @@ interface BaseInterface { interface Derived : BaseInterface { void Test (bool arg); -}
\ No newline at end of file +} |