diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-09-24 03:15:46 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-09-24 03:15:46 +0400 |
commit | 783dbb367a6c02b953ba36e9f65db8f19863aa05 (patch) | |
tree | 17505224173fde6f695df7d63e897e1619661f71 /mcs/tests/gtest-290.cs | |
parent | 8ecfcb4269eabc0c9d24d8481c75568853589459 (diff) |
New tests, update.
svn path=/trunk/mcs/; revision=65841
Diffstat (limited to 'mcs/tests/gtest-290.cs')
-rw-r--r-- | mcs/tests/gtest-290.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/gtest-290.cs b/mcs/tests/gtest-290.cs new file mode 100644 index 00000000000..cdad2b49d66 --- /dev/null +++ b/mcs/tests/gtest-290.cs @@ -0,0 +1,23 @@ +// Compiler options: -warnaserror -warn:4
+
+using System;
+
+public delegate void GenericEventHandler<U, V>(U u, V v);
+
+public class GenericEventNotUsedTest<T>
+{
+ event GenericEventHandler<GenericEventNotUsedTest<T>, T> TestEvent;
+
+ public void RaiseTestEvent(T t)
+ {
+ TestEvent(this, t);
+ }
+}
+
+public static class TestEntry
+{
+ public static void Main()
+ {
+ }
+}
+
|