summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0575.cs
blob: c016ace1dea858c064f8b2a1f8727e5a18d87c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0575: Only class types can contain destructor
// Line: 10

struct X
{
	~X ()
	{
	}

	static void Main ()
	{
	}
}