**** Merged from MCS ****
[mono-project.git] / mcs / btests / ExceptionHandlingC4.vb
blobac9811ea168c4494525cc237a45005fe80dfd7da
1 REM LineNo: 9
2 REM ExpectedError: BC30665
3 REM ErrorMessage: 'Throw' operand must derive from 'System.Exception'
5 Imports System
7 Module ExceptionHandlingC4
9 Sub Main()
10 Dim i As Integer
11 Throw i
12 End Sub
14 End Module