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>2003-04-26 08:07:17 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-04-26 08:07:17 +0400
commit374d9a020dd305c32ace595c26c26e25e5d96ff6 (patch)
tree2f49d7e5f518ddc1319462976d47d3318fef4a00 /mcs/tests/test-192.cs
parentb11b4472a007ed8007cdcc8d9b7abe7c58a1c754 (diff)
Add test
svn path=/trunk/mcs/; revision=14018
Diffstat (limited to 'mcs/tests/test-192.cs')
-rw-r--r--mcs/tests/test-192.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-192.cs b/mcs/tests/test-192.cs
new file mode 100644
index 00000000000..7ba8ea13922
--- /dev/null
+++ b/mcs/tests/test-192.cs
@@ -0,0 +1,11 @@
+//
+// Tests that we validate the unchecked state during constatn resolution
+//
+class X {
+ static void Main ()
+ {
+ unchecked {
+ const int val = (int)0x800B0109;
+ }
+ }
+}