diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-03-30 18:00:01 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-03-30 18:14:11 +0400 |
commit | e4135cfcbb45643ec9793724c0e9ab501d4a9fb0 (patch) | |
tree | e6daed7cd84e5144a9ad8fdd2a8986da3dc4a54e /mcs/tests/test-129.cs | |
parent | f7fee5a636709c21854a7d8164ae02646778046e (diff) |
Convert literals to constants when reducing literal value
Diffstat (limited to 'mcs/tests/test-129.cs')
-rw-r--r-- | mcs/tests/test-129.cs | 4 |
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; } } |