2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0208-6.cs
blobb41dd1efab296a5d5e0463557615e8f67d667904
1 // cs0208-6.cs: 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;