Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2004-03-30 04:54:29 +0400
committerMartin Baulig <martin@novell.com>2004-03-30 04:54:29 +0400
commit8ac45022bb2191a7a427b97287e7b7bf55120896 (patch)
treede01e6b02659e5a6088eb411c03c2d42aae34294 /mcs/errors/gcs0411-4.cs
parent0fc82bc096901b9b157aead1f431f4b4135168d0 (diff)
New test.
svn path=/trunk/mcs/; revision=24743
Diffstat (limited to 'mcs/errors/gcs0411-4.cs')
-rw-r--r--mcs/errors/gcs0411-4.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/gcs0411-4.cs b/mcs/errors/gcs0411-4.cs
new file mode 100644
index 00000000000..60f3cb01606
--- /dev/null
+++ b/mcs/errors/gcs0411-4.cs
@@ -0,0 +1,16 @@
+using System;
+
+delegate int E ();
+
+class X
+{
+ public static T G<T> ()
+ {
+ throw new ArgumentException ();
+ }
+
+ static void Main ()
+ {
+ E e2 = new E (G);
+ }
+}