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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-11 11:03:49 +0300
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-11-11 11:03:49 +0300
commitff75ba529b6ed182eb01cd06a7c204b6bf17fc28 (patch)
treeea32fad4cb0522f891debc7998ed3a3b581a2a40 /mcs/tests/test-40.cs
parent2a7159dbd8ce4a1adbf1a1e3e440de202196819c (diff)
2001-11-11 Ravi Pratap <ravi@ximian.com>
* test-40.cs : Update to be a little more useful. svn path=/trunk/mcs/; revision=1323
Diffstat (limited to 'mcs/tests/test-40.cs')
-rw-r--r--mcs/tests/test-40.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/mcs/tests/test-40.cs b/mcs/tests/test-40.cs
index 360065d03fe..d22fa8d391a 100644
--- a/mcs/tests/test-40.cs
+++ b/mcs/tests/test-40.cs
@@ -11,6 +11,13 @@ public class Blah {
{
Console.WriteLine ("Enum emission test");
- return 0;
+ byte b = (byte) MyEnum.Foo;
+
+ Console.WriteLine ("Foo has a value of " + b);
+
+ if (b == 254)
+ return 0;
+ else
+ return 1;
}
}