a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
274 B
C#
27 lines
274 B
C#
using System;
|
|
|
|
class X
|
|
{
|
|
static int Foo = 10;
|
|
|
|
static void Test ()
|
|
{
|
|
while (true) {
|
|
if (Foo == 1)
|
|
throw new Exception ("Error Test");
|
|
else
|
|
break;
|
|
}
|
|
|
|
Foo = 20;
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
Test ();
|
|
if (Foo != 20)
|
|
return 1;
|
|
return 0;
|
|
}
|
|
}
|