Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-cls-01.cs
index 977d7de0146172b2888b2c0158bfa33b69dbfdd4..8679f46e39a5383644dad0008d8f1b2c3860161f 100644 (file)
@@ -1,3 +1,5 @@
+// Compiler options: -warnaserror
+
 using System;
 
 [assembly: CLSCompliant (true)]
@@ -11,6 +13,16 @@ public class CLSClass
         public static void Main() {}
 }
 
+
+public class Big
+{
+       [CLSCompliant (false)]
+       public static implicit operator Big (uint value)
+       {
+               return null;
+       }
+}
+
 [CLSCompliant (false)]
 public partial class C1
 {