Merge pull request #1900 from esdrubal/cyclic-ref
[mono-project.git] / mcs / errors / cs0208-6.cs
blob79c680d6caa277c487025d4f9bfa3593e96995a7
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
5 unsafe struct X {
6 string a;
7 static void Main () {
8 X x;
9 void* y = &x;