diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-06-04 16:30:03 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-06-04 16:41:24 +0400 |
commit | ca13dbf1e136b63b4c4369811613551a387f966e (patch) | |
tree | b1a77217488180c34fa16343c277ae25d432140d /mcs/tests/test-894.cs | |
parent | eb0edaa05e35057dbad4bb21ab263013d48ae32c (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.cs | 19 |
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 |