Migarting the mbas' negative test cases from the old folder to here.
[mono.git] / mcs / mbas / Test / errors / ConcatenationOperatorC2.vb
1 REM LineNo: 13
2 REM ExpectedError: BC30201
3 REM ErrorMessage: Expression expected.
4
5 Imports System
6
7 Module ConcatenationOperatorC1
8     Sub main()
9         Dim a As String = "Hello "
10         Dim b As String = "World"
11
12         Dim c As String
13         c = & b
14
15         c = a & b
16         If c <> "Hello World" Then
17             Console.WriteLine("#A1-Concatenation Failed")
18         End If
19     End Sub
20
21 End Module