Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-351.cs
1 using System;
2
3 class TestThing
4 {
5         public int SetEnum (string a, Enum b)
6         {
7                 return 0;
8         }
9         public int SetEnum (int a, Enum b)
10         {
11                 return 1;
12         }
13 }
14
15 class Test
16 {
17         public static int Main (string [] args)
18         {
19                 DayOfWeek? e = DayOfWeek.Monday;
20                 TestThing t = new TestThing ();
21                 return t.SetEnum ("hi", e);
22         }
23 }