[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / test-247.cs
blobbba0e071ffa7de08fa86604f88f8ad3538ddc3bf
1 using System;
2 using System.Collections;
4 struct Blah : IEnumerable {
5 IEnumerator IEnumerable.GetEnumerator () {
6 return new ArrayList ().GetEnumerator ();
10 class B {
11 public static void Main () {
12 foreach (object o in new Blah ())