[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-cls-10.cs
index f919ec6341ada725ee9f67ad25b4a8db0b7e324d..0b53ef4dc6892b00f37f7ec8e3482eeca4c3e22c 100644 (file)
@@ -1,3 +1,5 @@
+// Compiler options: -warnaserror
+
 using System;
 [assembly:CLSCompliant (true)]
 
@@ -9,12 +11,14 @@ public interface I {
 
 [CLSCompliant (false)]
 public interface I2 {
+#pragma warning disable 3018   
         [CLSCompliant (true)]
         void Error (long arg);
+#pragma warning disable 3018        
 }
 
 
 public class MainClass {
         public static void Main () {
         }
-}
\ No newline at end of file
+}