summaryrefslogtreecommitdiff
path: root/mcs/tests/test-anon-85.cs
blob: e8d585df8bcf541c5917a683a82efa2444b6eeb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Compiler options: -unsafe

unsafe class X
{
	delegate void D ();
	
	public static int Main ()
	{
		byte* a = null;
		D d = delegate () {
			byte* x = &*a;
		};
		
		return 0;
	}
}