Add more tests.
authorMarek Safar <marek.safar@gmail.com>
Sat, 23 Jun 2007 23:29:17 +0000 (23:29 -0000)
committerMarek Safar <marek.safar@gmail.com>
Sat, 23 Jun 2007 23:29:17 +0000 (23:29 -0000)
svn path=/trunk/mcs/; revision=80607

mcs/tests/test-556.cs

index 7c9442d8adfa9a33abaf967c9d34a2cdaa529bbb..5bb48331a137d93a89a801af1edd15cf413fc2a0 100644 (file)
@@ -6,9 +6,23 @@ public class S
        public void Frobnikator() 
        {
                const UInt32 SMALL_MASK = (1U << (24)) - 1; 
-               const ulong BIG_MASK = ~((ulong)SMALL_MASK);  
+               const ulong BIG_MASK = ~((ulong)SMALL_MASK);
                
        }
+       
+       public void CharToX ()
+       {
+               const char c = 'a';
+               
+               const ushort us = c;
+               const int i = c;
+               const uint ui = c;
+               const long l = c;
+               const ulong ul= c;
+               const float fl = c;
+               const double d = c;
+               const decimal dec = c;
+       }
 
        static void Main ()
        {