Switch to compiler-tester
[mono.git] / mcs / errors / cs0127.cs
1 // cs0127.cs: Since `X.fn()' returns void, a return keyword must not be followed by an object expression
2 // Line: 6
3 class X {
4         void fn ()
5         {
6                 return 1;
7         }
8 }