New test.
[mono.git] / mcs / errors / cs0562.cs
1 // cs0562.cs: The parameter of a unary operator must be the containing type
2 // Line: 5
3
4 class SampleClass {
5         public static SampleClass operator - (int value) {
6                 return new SampleClass();
7         }
8 }