repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use constant stack space for STW under darwin.
[mono-project.git]
/
mono
/
tests
/
bug-461867.cs
blob
eb2d89d63b4206474ce007028465218fedfbac73
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
}