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:
authorMiguel de Icaza <miguel@gnome.org>2004-02-07 08:56:27 +0300
committerMiguel de Icaza <miguel@gnome.org>2004-02-07 08:56:27 +0300
commit7e63b37a8c65f63e20fda46616a44491319aaa6c (patch)
tree48685a3839f6cd06ac65c06f0083abc13c52b7d3 /mcs/tests/test-200.cs
parentf433cdd7af95439d39a234139642994de8f31ca0 (diff)
Improve test to include a case for #53696
svn path=/trunk/mcs/; revision=22855
Diffstat (limited to 'mcs/tests/test-200.cs')
-rw-r--r--mcs/tests/test-200.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mcs/tests/test-200.cs b/mcs/tests/test-200.cs
index 3c6f35539b7..58b43ea695c 100644
--- a/mcs/tests/test-200.cs
+++ b/mcs/tests/test-200.cs
@@ -22,6 +22,13 @@ class X
x = d ^= c;
Console.WriteLine (x);
+ // Implicit conversion with shift operators
+ short s = 5;
+ int i = 30000001;
+ s <<= i;
+ Console.WriteLine (s);
+ Console.WriteLine ("OK");
+
return 0;
}
}