[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-var-06.cs
blob08345c36686bf8ed133336511ece2d81aaae774a
2 // Tests variable type inference with the var keyword when using the for-statement
4 using System;
6 public class Test
8 public static int Main ()
10 for (var i = 0; i < 1; ++i)
11 if (i.GetType() != typeof (int))
12 return 1;
14 return 0;