Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-461261.cs
1 using System;
2 using System.Collections.Generic;
3
4 public interface ICode
5 {
6         string Code { get; }
7 }
8
9 static class Program
10 {
11         public static void Main ()
12         {
13                 IEnumerable<object> array = new ICode[10];
14                 IEnumerator<object> x = array.GetEnumerator ();
15
16                 x.MoveNext ();
17                 object o = x.Current;
18         }
19 }