Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0208-5.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* y;
9         }
10 }
11