New test.
[mono.git] / mcs / tests / gtest-251.cs
1 using System;
2 using SCG = System.Collections.Generic;
3
4 public interface ISorted<S>
5 {
6         void AddSorted<T> (SCG.IEnumerable<T> items)
7                 where T : S;
8 }
9
10 public class SortedIndexedTester<T>
11 {
12         public void Test (ISorted<int> sorted)
13         {
14                 sorted.AddSorted (new int[] { 31, 62, 63, 93 });
15         }
16 }
17
18 class X
19 {
20         static void Main ()
21         { }
22 }