diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-09-07 13:51:02 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-09-07 13:51:02 +0400 |
commit | 779ec570c26faaa5f94e6013d8720f5f6ae0c06c (patch) | |
tree | 6e1e571af44e2625d2f82f09231f985ab240d9a1 /mcs/errors/cs0571-3.cs | |
parent | e4da82786db9da5f440430917171ba477275e0fb (diff) |
* cs0571-3.cs, CS0571-3-lib.cs: New tests for #59980.
* Makefile: Update list of dlls.
svn path=/trunk/mcs/; revision=33484
Diffstat (limited to 'mcs/errors/cs0571-3.cs')
-rw-r--r-- | mcs/errors/cs0571-3.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0571-3.cs b/mcs/errors/cs0571-3.cs new file mode 100644 index 00000000000..6866d190649 --- /dev/null +++ b/mcs/errors/cs0571-3.cs @@ -0,0 +1,15 @@ +// cs0571.cs: cannot explicitly call operator or accessor +// Line: 12 +// Compiler options: -r:CS0571-3-lib.dll + +// Testcase for bug #59980 + +using Test; + +public class EntryPoint { + public static int Main () { + C1 foo = new C2 (); + return foo.get_foo (); + } +} + |