projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-08 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mono
/
tests
/
classinit.cs
1
using System;
2
3
class Foo {
4
5
static public int i = 0;
6
}
7
8
class Bar {
9
10
static public int j;
11
12
static Bar () {
13
j = Foo.i;
14
}
15
}
16
17
class Bug {
18
19
static public int Main () {
20
Foo.i = 5;
21
if (Bar.j != 5)
22
return 1;
23
24
return 0;
25
}
26
}