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:
authorMarek Safar <marek.safar@gmail.com>2008-05-20 18:47:49 +0400
committerMarek Safar <marek.safar@gmail.com>2008-05-20 18:47:49 +0400
commit48b2fd9bd5c2bb9c1875db16d2309b33ccf51e0f (patch)
treebd1418ebe9a262f716ba933e21e526324ad74061 /mcs/tests/test-647.cs
parent452af9dede03e87aa84dbc7c9af2be4cb89cf9ee (diff)
New test.
svn path=/trunk/mcs/; revision=103575
Diffstat (limited to 'mcs/tests/test-647.cs')
-rwxr-xr-xmcs/tests/test-647.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-647.cs b/mcs/tests/test-647.cs
new file mode 100755
index 00000000000..ce129c559a0
--- /dev/null
+++ b/mcs/tests/test-647.cs
@@ -0,0 +1,16 @@
+using System;
+
+enum DT : byte {
+ Foop
+}
+
+public class Foo
+{
+ public static void Main ()
+ {
+ DT dt;
+ dt = (DT) byte.Parse ("123");
+ dt = (DT) decimal.Parse ("123");
+ }
+}
+