summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-31.cs
blob: af9622e62c989969366ef999d2fae6915ae70b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0019: Operator `==' cannot be applied to operands of type `S' and `S'
// Line: 14

struct S
{
}

class C
{
	public static void Main ()
	{
		S s;
		S x;
		bool b = s == x;
	}
}