[GC] Make size dependent vars use size_t instead of glong or int.
[mono.git] / mcs / tests / test-cls-17.cs
index 6d62d5eb2f6947f9f2dafb687850936db6ab127b..aa0415c52c472b65303d832cae24bf8128f0c351 100644 (file)
@@ -1,10 +1,20 @@
-// This code issues CS3014 error in csc ersion 1.1
+// Compiler options: -warnaserror
+
+// This code used to issue CS3014 errors in csc version 1.1
 
 using System;
 
 [assembly: CLSCompliant(false)]
 
 [CLSCompliant(true)]
-public class Foo {
+public enum E
+{
+       Value
+}
+
+[CLSCompliant(true)]
+public class Foo
+{
+       public E e;
        public static void Main () {}
 }
\ No newline at end of file