do not check order sequence if option /order was not used
[mono.git] / mcs / tests / test-iter-16.cs
1 using System.Collections;
2 class Foo {
3         static public IEnumerable foo ()
4         {
5                 try { yield break; } catch { } finally { }
6         }
7         static int Main ()
8         {
9                 int i = 0;
10                 foreach (object o in foo ())
11                         ++i;
12                 return i;
13         }
14 }