Files
mono/mcs/errors/cs0208-6.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

13 lines
226 B
C#

// cs0208-6.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
// Line: 8
// Compiler options: -unsafe
unsafe struct X {
string a;
static void Main () {
X x;
void* y = &x;
}
}