summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0666.cs
blob: e7a621c0dc7b159e8294da282c58cc479fa5c92c (plain)
1
2
3
4
5
6
7
8
9
10
// CS0666: `X.A': Structs cannot contain protected members
// Line: 5

struct X {
	protected int A;

	static void Main ()
	{
	}
}