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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-12-23 17:01:44 +0300
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-12-23 17:01:44 +0300
commitce8a364511d009ce63f2ef03f01e5bb8fc6dc17b (patch)
treeb89db62c03993639a3be10fcd85c30c5d9368152 /mcs/errors/bug10.cs
parentf8272ef9f344be638e3210de14f37986c8d8f13a (diff)
Add
svn path=/trunk/mcs/; revision=1692
Diffstat (limited to 'mcs/errors/bug10.cs')
-rw-r--r--mcs/errors/bug10.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/errors/bug10.cs b/mcs/errors/bug10.cs
new file mode 100644
index 00000000000..f2b57032d98
--- /dev/null
+++ b/mcs/errors/bug10.cs
@@ -0,0 +1,27 @@
+using System;
+
+public class Blah {
+
+ public void Connect ()
+ {
+ }
+
+ public void Button1_Click (int i, int j)
+ {
+ Console.WriteLine ("Button1 was clicked !");
+ Console.WriteLine ("Answer : " + (i+j));
+ }
+
+ public static int Main ()
+ {
+ Blah b = new Blah ();
+
+ b.Connect ();
+
+ b.OnClick ();
+
+ Console.WriteLine ("Test passes");
+ return 0;
+ }
+
+}