[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-490.cs
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4
5 interface IFoo : IEnumerable<Foo>
6 {
7 }
8
9 class Foo : IFoo
10 {
11         List<Foo> _fooList = new List<Foo> ();
12
13         IEnumerator<Foo> IEnumerable<Foo>.GetEnumerator ()
14         {
15                 return _fooList.GetEnumerator ();
16         }
17
18         public IEnumerator GetEnumerator ()
19         {
20                 return _fooList.GetEnumerator ();
21         }
22
23         public static void Main ()
24         {
25         }
26 }