summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0127.cs
blob: 77e7224fec8f7acc7ebf96ea9697d637ae008fab (plain)
1
2
3
4
5
6
7
8
9
10
// CS0127: `X.fn()': A return keyword must not be followed by any expression when method returns void
// Line: 6

class X {
	void fn ()
	{
		return 1;
	}
}