[xbuild] Remove ErrorTest.TestExecute1()
[mono.git] / mcs / errors / cs0031-7.cs
old mode 100644 (file)
new mode 100755 (executable)
index 310ac45..7c37832
@@ -1,6 +1,11 @@
-// CS0031: Constant value `42' cannot be converted to a `string'\r
-// Line: 5\r
-\r
-class A {\r
-  public static implicit operator string (A a) { return 42; }\r
-}\r
+// CS0031: Constant value `1000M' cannot be converted to a `byte'
+// Line: 8
+
+class C
+{
+       public static void Main ()
+       {
+               const byte c = unchecked ((byte) 1000M);
+       }
+}
+