* MonthCalendar.cs:
[mono-project.git] / mcs / tests / gen-73.cs
blob1790930604c813b7346ac4d5aaf76f2286c9232f
1 using System;
2 using System.Collections.Generic;
4 class MyList<T> : IEnumerable<T>
6 public IEnumerator<T> GetEnumerator ()
8 yield break;
12 struct Foo<T>
14 public readonly T Data;
16 public Foo (T data)
18 this.Data = data;
22 class X
24 static void Main ()
26 MyList<Foo<int>> list = new MyList <Foo<int>> ();
27 foreach (Foo<int> foo in list)