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>2012-03-30 18:00:01 +0400
committerMarek Safar <marek.safar@gmail.com>2012-03-30 18:14:11 +0400
commite4135cfcbb45643ec9793724c0e9ab501d4a9fb0 (patch)
treee6daed7cd84e5144a9ad8fdd2a8986da3dc4a54e /mcs/tests/test-129.cs
parentf7fee5a636709c21854a7d8164ae02646778046e (diff)
Convert literals to constants when reducing literal value
Diffstat (limited to 'mcs/tests/test-129.cs')
-rw-r--r--mcs/tests/test-129.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/tests/test-129.cs b/mcs/tests/test-129.cs
index ebe321bb468..92fd6914b45 100644
--- a/mcs/tests/test-129.cs
+++ b/mcs/tests/test-129.cs
@@ -22,7 +22,9 @@ class X {
return 2;
uint ui = (1);
-
+ byte b1 = (int)(0x30);
+ byte b2 = (int)0x30;
+
return 0;
}
}