Merge pull request #3766 from BrzVlad/feature-default-conc
[mono.git] / mcs / errors / cs0029.cs
old mode 100755 (executable)
new mode 100644 (file)
index 4f701c4..413b4f5
@@ -1,12 +1,14 @@
-// cs0029: cannot implicitly conver type `double' to `decimal'
-// Line: 7
+// CS0029: Cannot implicitly convert type `X' to `bool'
+// Line : 11
+
+class X {
+}
 
 class T {
-       public static int Main (string [] args)
+       static void Main ()
        {
-               decimal d = 100d;
-
-               return 1;
+               X x = new X ();
+               if (x){
+               }
        }
 }
-