Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2002-01-01 22:06:23 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-01-01 22:06:23 +0300
commitb638e43f8a76b61ad6edf928c3bf05487395ed4d (patch)
tree6e15fdefe41233dfc9f178c3f566bc295adff648 /mcs/tests/test-35.cs
parent2f9e142a1bd51bbb9b9685937d0ae556e9ccf457 (diff)
Improve tests
svn path=/trunk/mcs/; revision=1769
Diffstat (limited to 'mcs/tests/test-35.cs')
-rwxr-xr-xmcs/tests/test-35.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/test-35.cs b/mcs/tests/test-35.cs
index 15654965b24..d9bc1d8338e 100755
--- a/mcs/tests/test-35.cs
+++ b/mcs/tests/test-35.cs
@@ -12,6 +12,11 @@ class X {
if (!t)
j = 1;
}
+
+ static void w (int x)
+ {
+ System.Console.WriteLine (" " + x);
+ }
static int Main ()
{
@@ -22,11 +27,13 @@ class X {
else
error++;
+ w (1);
if (f)
error++;
else
ok |= 2;
+ w(2);
if (t)
ok |= 4;
else
@@ -43,6 +50,7 @@ class X {
ok |= 16;
int i = 0;
+ w(3);
do {
i++;
} while (!(i > 5));
@@ -51,6 +59,8 @@ class X {
else
ok |= 32;
+ w(100);
+ System.Console.WriteLine ("Value: " + t);
do {
i++;
} while (!t);