Use constant stack space for STW under darwin.
[mono-project.git] / mono / tests / bug-461867.cs
blobeb2d89d63b4206474ce007028465218fedfbac73
1 using System;
2 using System.Runtime.InteropServices;
4 namespace TestApp
6 public delegate char MyDelegate(int x);
8 class Driver
10 static char Test (int x) { return (char)x; }
12 static int Main()
14 MyDelegate m = Driver.Test;
15 Marshal.GetFunctionPointerForDelegate (m);
16 return 0;