Added 'REM Target: library' to the files that need to be compiled as a
[mono.git] / mcs / btests / EnumC5.vb
1 REM LineNo: 9
2 REM ExpectedError: BC30439
3 REM ErrorMessage: Constant expression not representable in type 'Integer'.
4
5 Imports System
6
7 Module M
8         Public Enum E1
9                 A =  System.Int64.MaxValue
10                 B 
11         End Enum
12
13    Sub Main()
14         Dim i as integer = E1.A
15     End Sub
16 End Module
17