2007-11-07 Marek Safar <marek.safar@gmail.com>
authorMarek Safar <marek.safar@gmail.com>
Wed, 7 Nov 2007 19:10:02 +0000 (19:10 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 7 Nov 2007 19:10:02 +0000 (19:10 -0000)
  A test for bug #324242

svn path=/trunk/mcs/; revision=89150

mcs/tests/gtest-351.cs [new file with mode: 0644]

diff --git a/mcs/tests/gtest-351.cs b/mcs/tests/gtest-351.cs
new file mode 100644 (file)
index 0000000..0607f0c
--- /dev/null
@@ -0,0 +1,23 @@
+using System;
+
+class TestThing
+{
+       public int SetEnum (string a, Enum b)
+       {
+               return 0;
+       }
+       public int SetEnum (int a, Enum b)
+       {
+               return 1;
+       }
+}
+
+class Test
+{
+       public static int Main (string [] args)
+       {
+               DayOfWeek? e = DayOfWeek.Monday;
+               TestThing t = new TestThing ();
+               return t.SetEnum ("hi", e);
+       }
+}
\ No newline at end of file