2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-208.cs
blobced1e9d789bdfe9891c2472d9216d0238e0f5779
1 using System;
3 interface A
5 string this [string s] { get; }
8 interface B : A
10 void Test ();
13 class X : B
15 public string this [string s] {
16 get {
17 return s;
21 public void Test ()
22 { }
25 public class Y
27 public static void Main ()
29 B b = new X ();
31 string s = b ["test"];