projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f75b1
)
2007-11-07 Marek Safar <marek.safar@gmail.com>
author
Marek Safar
<marek.safar@gmail.com>
Wed, 7 Nov 2007 19:10:02 +0000
(19:10 -0000)
committer
Marek 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]
patch
|
blob
diff --git a/mcs/tests/gtest-351.cs
b/mcs/tests/gtest-351.cs
new file mode 100644
(file)
index 0000000..
0607f0c
--- /dev/null
+++ b/
mcs/tests/gtest-351.cs
@@ -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