summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-9.cs
blob: 1398a84767ca7f3351ad78745d8fab205525ca46 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo'
// Line: 7
// Compiler options: -t:library -unsafe

public unsafe struct Foo
{
        public Foo *foo;
	string x;
}