New test.
[mono.git] / mcs / tests / gtest-iter-12.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class H
5 {
6         public static void Main(String[] args) { }
7
8         public static IEnumerable<T> Merge<T> (IEnumerator<T> xEtor)
9                 where T : IComparable<T>
10         {
11                 int order = xEtor.Current.CompareTo (xEtor.Current);
12                 yield return xEtor.Current;
13         }
14 }