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:
authorMiguel de Icaza <miguel@gnome.org>2002-04-04 00:58:19 +0400
committerMiguel de Icaza <miguel@gnome.org>2002-04-04 00:58:19 +0400
commit0a638094004310b0f1e98c2f8cbb0e2ceffd813f (patch)
treeeeead1069d194c7d99d77d307ad745c4f03c9552 /mcs/tests/test-96.cs
parentc996d9399950a5f09ef2fec12db4f739aac68cd9 (diff)
Add new tests
svn path=/trunk/mcs/; revision=3594
Diffstat (limited to 'mcs/tests/test-96.cs')
-rwxr-xr-xmcs/tests/test-96.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/test-96.cs b/mcs/tests/test-96.cs
new file mode 100755
index 00000000000..d32896c91f6
--- /dev/null
+++ b/mcs/tests/test-96.cs
@@ -0,0 +1,21 @@
+//
+// Compilation test
+//
+// This used to be a bug in the name lookups in delegate declarations
+//
+namespace N1
+{
+ public class A
+ {
+ }
+
+ //
+ // A used to not be resolved
+ //
+ public delegate void C(object sender, A a);
+
+ static int Main ()
+ {
+ return 0;
+ }
+}