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

test-638.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9551aa9f612fc7d2ac5a7447996cf77bd20061ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Threading;

class Fail {
  public static void Main () {
    string a = "";
    a += 0 + "A" + 1 + "B" + 2;
    EventHandler t = delegate {
      if (a != "0A1B2")
	throw new Exception ();
    };
    t (null, null);
  }
}