summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-5.cs
blob: 6cfe5c2b863e57fb359db03a8ba96e7ce87904e4 (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 `X'
// Line: 8
// Compiler options: -unsafe

unsafe struct X {
	string a;
	static void Main () {
		X* y;
	}
}