Files
mono/mcs/errors/cs0819.cs
T
Raja R Harinath 82fd9897d8 * mcs/cs-parser.jay (type): Allow 'var' in mcs too.
(local_variable_type): Likewise.
* tests, errors: Run 'var' tests with mcs too.

svn path=/trunk/mcs/; revision=110494
2008-08-14 16:07:10 +00:00

12 lines
184 B
C#

// CS0819: An implicitly typed local variable declaration cannot include multiple declarators
// Line: 9
public class Test
{
static void Main ()
{
var v = "foo", w = "bar";
}
}