summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0678.cs
blob: ffb805a012c029ab5625d79a9f9d7187113abc76 (plain)
1
2
3
4
5
6
7
8
// CS0678: `X.j': A field cannot be both volatile and readonly
// Line: 5

class X {
	readonly volatile int j;

	static void Main () {}
}