Fix eglib targets and filters.
[mono.git] / mcs / tests / test-185.cs
1 using System;
2
3 class X
4 {
5         public static int Test (int x)
6         {
7                 for (;;) {
8                         if (x != 1)
9                                 x--;
10                         else
11                                 break;
12                         return 5;
13                 }
14                 return 0;
15         }
16
17         public static int Main ()
18         {
19                 if (Test (1) != 0)
20                         return 1;
21
22                 if (Test (2) != 5)
23                         return 2;
24
25                 return 0;
26         }
27 }