**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs1686.cs
blob4756dfe285ad990329378840cb161aef87435fc8
1 // cs1686.cs: Can not take the address of a local variable
2 // Line:
3 // Compiler options: -unsafe
5 unsafe class X {
6 delegate void T ();
8 static void Main ()
10 int i;
12 unsafe {
13 T t = delegate {
14 int *j = &i;