repo.or.cz
/
mono.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-17 Geoff Norton <gnorton@novell.com>
[mono.git]
/
mono
/
tests
/
static-fields-nonconst.il
blob
5fb3d94e8d86fdd38a9f15c0e0cc36cfa82e7fec
1
.assembly extern mscorlib {}
2
3
4
5
.assembly test {}
6
7
8
9
.module test.exe
10
11
12
13
.class public EntryPoint extends [mscorlib]System.Object {
14
15
16
17
.field public static int32 m_test = int32(2)
18
19
20
21
.method public static int32 Main() cil managed {
22
23
.entrypoint
24
25
ldsfld int32 EntryPoint::m_test
26
brtrue fail
27
ldc.i4 0
28
ret
29
fail:
30
ldc.i4 1
31
ret
32
33
}
34
35
}
36