'Expected Exception:: OverflowException Imports System Imports Nunit.Framework _ Public Class IntegerLiteralTest3 _ Public Sub TestForException () Dim l As Long l = System.Int64.MaxValue l = l + 1 End Sub End Class