diff options
author | Marek Safar <marek.safar@gmail.com> | 2007-06-24 03:29:17 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2007-06-24 03:29:17 +0400 |
commit | 2e02d6ccb90bc1af3465c96bf2d9f506978aa870 (patch) | |
tree | 43bc95c7a156ea6072bf7c93fe83d967ae1f85f7 /mcs/tests/test-556.cs | |
parent | e49943b9c8c0d02bcd26a32c29954d7b338aa2fa (diff) |
Add more tests.
svn path=/trunk/mcs/; revision=80607
Diffstat (limited to 'mcs/tests/test-556.cs')
-rw-r--r-- | mcs/tests/test-556.cs | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mcs/tests/test-556.cs b/mcs/tests/test-556.cs index 7c9442d8adf..5bb48331a13 100644 --- a/mcs/tests/test-556.cs +++ b/mcs/tests/test-556.cs @@ -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 () { |