projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-12-23 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
mono
/
tests
/
bug-461867.cs
1
using System;
2
using System.Runtime.InteropServices;
3
4
namespace TestApp
5
{
6
public delegate char MyDelegate(int x);
7
8
class Driver
9
{
10
static char Test (int x) { return (char)x; }
11
12
static int Main()
13
{
14
MyDelegate m = Driver.Test;
15
Marshal.GetFunctionPointerForDelegate (m);
16
return 0;
17
}
18
}
19
}