Fix LLVM linker flags for 6.0.
[mono-project.git] / mcs / tests / test-526.cs
blob32d8300a07ec57450bb8b00cbfa123310324762c
1 using System;
3 interface IList
5 int Count ();
8 interface ICounter
10 int Count { set; }
13 interface IListCounter: IList, ICounter
17 interface IA
19 int Value ();
22 interface IB : IA
24 new int Value { get; }
27 interface IC : IB
29 new int Value { get; }
32 interface IBB : IList, ICounter
36 interface ICC : IBB
40 interface IM1
42 void Add (int arg);
45 interface IM2 : IM1
47 int Add (int arg, bool now);
50 class Test
52 public static void Main ()
56 static void Foo (IListCounter t)
58 t.Count ();
61 void Foo2 (IC b)
63 int i = b.Value;
66 void Foo3 (ICC c)
68 c.Count ();
71 void Foo4 (IM2 im2)
73 im2.Add (2);