2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / ilasm / tests / test-uint.il
blob9d65b0ebc53a81e86ae8995c0f14df35cf68292f
1 //Test for keywords : uint8, uint16, uint32 & uint64
2 //Should get parsed as unsigned int8 .. etc
3 //
4 //uint8 in marshal (..) should get parsed as native types
6 .assembly Test
10 .namespace MonoTest
12         .class private auto autochar beforefieldinit ConsoleApp
13                 extends [mscorlib]System.Object
14                 {
15                         .field  private  marshal (uint8) int32 a0
16                         .field  private  marshal (uint16) int32 a1
17                         .field  private  marshal (uint32) int32 a2
18                         .field  private  marshal (uint64) int64 a3
20                         .method assembly hidebysig static void Test() cil managed
21                         {
22                                 // Code size       74 (0x4a)
23                                 .maxstack  2
25                                 .locals init (uint8 V_0,
26                                                 uint16 V_1,
27                                                 uint32 V_2,
28                                                 uint64 V_3)
29                                 ret
30                         }
31                 }