diff options
author | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:25:27 +0300 |
---|---|---|
committer | Jaime Anguiano Olarra <jaime@mono-cvs.ximian.com> | 2002-12-02 20:25:27 +0300 |
commit | 54151eb4397d12dd04eb02a4712448638ad23195 (patch) | |
tree | e3c75b507e964eae496399e9778aceb73a42beca /mcs/errors/cs0067.cs | |
parent | 7b611a71ba9f21c6af6af1b7e7703cb30e1d48c0 (diff) |
Test for C# Compiler Error CS0067. Event never used.
svn path=/trunk/mcs/; revision=9352
Diffstat (limited to 'mcs/errors/cs0067.cs')
-rw-r--r-- | mcs/errors/cs0067.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0067.cs b/mcs/errors/cs0067.cs new file mode 100644 index 00000000000..8438892e435 --- /dev/null +++ b/mcs/errors/cs0067.cs @@ -0,0 +1,16 @@ +// cs0067.cs: The event is never used. +// Line: 11 + +using System; + +class ErrorCS0067 { + public delegate void FooHandler (); +} + +class Foo { + public event ErrorCS0067.FooHandler OnFoo; + + public static void Main () { + } +} + |