2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-247.cs
blob32a09f2f9a66ce26e1fa0f100f5726e072a97ab6
1 using System;
2 using System.Collections;
4 struct Blah : IEnumerable {
5 IEnumerator IEnumerable.GetEnumerator () {
6 return new ArrayList ().GetEnumerator ();
10 class B {
11 static void Main () {
12 foreach (object o in new Blah ())