-// cs0127.cs: Since `X.fn()' returns void, a return keyword must not be followed by an object expression
+// 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;
}
}
+