Permalink
Browse files

2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>

	* bug-461867.cs: New regression test.

	* Makefile.am: Test added.

svn path=/trunk/mono/; revision=122036
  • Loading branch information...
1 parent ccad309 commit 738dd0681439177cca02b0264f8006e53cf7c56f @kumpera kumpera committed Dec 23, 2008
Showing with 27 additions and 1 deletion.
  1. +6 −0 mono/tests/ChangeLog
  2. +2 −1 mono/tests/Makefile.am
  3. +19 −0 mono/tests/bug-461867.cs
@@ -1,3 +1,9 @@
+2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * bug-461867.cs: New regression test.
+
+ * Makefile.am: Test added.
+
2008-12-19 Mark Probst <mark.probst@gmail.com>
* bug-459285.2.cs: New generic sharing test.
@@ -326,7 +326,8 @@ BASE_TEST_CS_SRC= \
bug-415577.cs \
filter-stack.cs \
vararg2.cs \
- bug-389886-sre-generic-interface-instances.cs
+ bug-389886-sre-generic-interface-instances.cs \
+ bug-461867.cs
if AMD64
TEST_CS_SRC = $(BASE_TEST_CS_SRC) async-exc-compilation.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Runtime.InteropServices;
+
+namespace TestApp
+{
+ public delegate char MyDelegate(int x);
+
+ class Driver
+ {
+ static char Test (int x) { return (char)x; }
+
+ static int Main()
+ {
+ MyDelegate m = Driver.Test;
+ Marshal.GetFunctionPointerForDelegate (m);
+ return 0;
+ }
+ }
+}

0 comments on commit 738dd06

Please sign in to comment.