diff options
author | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:18:14 +0300 |
---|---|---|
committer | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:18:14 +0300 |
commit | 7b611a71ba9f21c6af6af1b7e7703cb30e1d48c0 (patch) | |
tree | 11dee04b347cb791cddb7f2ee4c19b0b4f0e786f /mcs/errors/cs0061.cs | |
parent | 283bc9387af3b02ae75ac26af77eb2a19393f8f0 (diff) |
Test for C# Compiler Error CS0061. Inconsistent accessibility. Base interface less accessible than interface.
svn path=/trunk/mcs/; revision=9351
Diffstat (limited to 'mcs/errors/cs0061.cs')
-rw-r--r-- | mcs/errors/cs0061.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0061.cs b/mcs/errors/cs0061.cs new file mode 100644 index 00000000000..6866cc38a33 --- /dev/null +++ b/mcs/errors/cs0061.cs @@ -0,0 +1,16 @@ +// cs0061.cs: Inconsistent accessibility. Base interface less accessible than interface. +// Line: 9 + +using System; + +protected interface IFoo { +} + +public interface IBar : IFoo { +} + +class ErrorCS0061 { + public static void Main () { + } +} + |