svn path=/trunk/mcs/; revision=34837
#
NEW_TEST_SOURCES_common = \
test-297 test-287 test-294 test-299 test-300 \
- test-301 test-302 test-303 test-304 test-305 test-306 test-307
+ test-301 test-302 test-303 test-304 test-305 test-306 test-307 test-308
#
# Please do _not_ add any tests here - all new tests should go into NEW_TEST_SOURCES_common
--- /dev/null
+using System;
+using System.Security;
+using System.Security.Permissions;
+
+public class Program {
+
+ static public void Main (string [] args)
+ {
+ SecurityAction a = SecurityAction.Demand;
+ switch (a) {
+ case (SecurityAction)13:
+ case SecurityAction.Demand:
+ Console.WriteLine ("ok");
+ break;
+ }
+ }
+}
+