Files
mono/mcs/errors/cs0815.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

13 lines
171 B
C#

// CS0815: An implicitly typed local variable declaration cannot be initialized with `null'
// Line: 9
public class Test
{
static void Main ()
{
var v = null;
}
}