Merge pull request #4845 from lambdageek/dev-coop-delegates
[mono.git] / mcs / errors / cs0208-6.cs
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
2 // Line: 8
3 // Compiler options: -unsafe
4
5 unsafe struct X {
6         string a;
7         static void Main () {
8                 X x;
9                 void* y = &x;
10         }
11 }
12