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

bug10.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5b2ff627ffa50b37e86e9b5959d90c27f8193189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// fixed
//
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;
	}
	
}