New tests and updates.
[mono.git] / mcs / errors / cs0067.cs
index 8438892e435cb287b73219ed38e20c85a90a3e9d..f3cd3ca9cac3dbd996aa22f82815850e5247c555 100644 (file)
@@ -1,5 +1,6 @@
-// cs0067.cs: The event is never used.
-// Line: 11
+// cs0067: The event `Foo.OnFoo' is never used
+// Line: 12
+// Compiler options: -warnaserror -warn:4
 
 using System;
 
@@ -8,7 +9,7 @@ class ErrorCS0067 {
 }
 
 class Foo {
-       public event ErrorCS0067.FooHandler OnFoo;
+       private event ErrorCS0067.FooHandler OnFoo;
        
        public static void Main () {
        }