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:
authorMarek Safar <marek.safar@gmail.com>2014-06-04 16:30:03 +0400
committerMarek Safar <marek.safar@gmail.com>2014-06-04 16:41:24 +0400
commitca13dbf1e136b63b4c4369811613551a387f966e (patch)
treeb1a77217488180c34fa16343c277ae25d432140d /mcs/tests/test-894.cs
parenteb0edaa05e35057dbad4bb21ab263013d48ae32c (diff)
[mcs] Don't wrap enum constants during folding when result is reduced
Diffstat (limited to 'mcs/tests/test-894.cs')
-rw-r--r--mcs/tests/test-894.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/mcs/tests/test-894.cs b/mcs/tests/test-894.cs
new file mode 100644
index 00000000000..259a66cd03a
--- /dev/null
+++ b/mcs/tests/test-894.cs
@@ -0,0 +1,19 @@
+using System;
+
+[AttributeUsage (AttributeTargets.All + 0xFFFFFE + 1)]
+class A1Attribute : Attribute
+{
+}
+
+[AttributeUsage ((AttributeTargets) 0xffff)]
+class A2Attribute : Attribute
+{
+}
+
+public class Test
+{
+ public static void Main ()
+ {
+
+ }
+} \ No newline at end of file