2010-04-07 Jb Evain <jbevain@novell.com>
[mcs.git] / ilasm / tests / test-bounded-array.il
blob64e7651a6df59129c90b51707d821d7052541f20
1 //Test case for #76976\r
2 //uint8[0...] should not lose its lower-bound info\r
3 \r
4 .assembly extern mscorlib\r
5 {\r
6 }\r
7 .assembly Output\r
8 {\r
9   .ver 1:0:0:0\r
10 }\r
11 .module Output\r
13 .class private auto autochar beforefieldinit Test\r
14        extends [mscorlib]System.Object\r
15 {\r
16   .method public hidebysig static void  Main() cil managed\r
17   {\r
18     .entrypoint\r
19     .maxstack 2 \r
20     .locals init (uint8[8] V_0,\r
21              int32 V_1)\r
22     ldc.i4.8\r
23     newobj     instance void uint8[0...]::.ctor(int32)\r
24     pop\r
25     ret\r
26   }\r
28 }\r