projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
a-capture8.cs
1
//
2
// Tests assignment of a captured variable to another
3
// Do not add anything else to this test.
4
//
5
delegate void S ();
6
7
class X {
8
9
//
10
// DO NOT ADD ANYTHING ELSE TO THIS TEST
11
//
12
static int Main ()
13
{
14
int a = 2;
15
int b = 1;
16
S d = delegate {
17
a = b;
18
};
19
20
return 0;
21
}
22
}