diff options
Diffstat (limited to 'mcs/tests/test-280.cs')
-rw-r--r-- | mcs/tests/test-280.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/test-280.cs b/mcs/tests/test-280.cs new file mode 100644 index 00000000000..aff2fbb5994 --- /dev/null +++ b/mcs/tests/test-280.cs @@ -0,0 +1,23 @@ +// +// Thisis just a compilation test for bug 61593 +using System; +namespace AppFramework.Util +{ + public class Logic + { + static public bool EnumInSet(Enum anEnum, Enum[] checkSet) + { + foreach(Enum aVal in checkSet) + { + if (aVal == anEnum) + { + return true; + } + } + return false; + } + + static void Main () {} + } +} + |