* basic-profile-check.cs: Add use of 'var' keyword.
authorRaja R Harinath <harinath@hurrynot.org>
Fri, 16 Apr 2010 18:33:03 +0000 (18:33 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Fri, 16 Apr 2010 18:33:03 +0000 (18:33 -0000)
svn path=/trunk/mcs/; revision=155645

mcs/build/common/ChangeLog
mcs/build/common/basic-profile-check.cs

index c0b1a6ae6cc37a96c8fca91f4012e2e39a32b41c..df647834d2e0534f55626b413fd33898e574f1af 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-16  Raja R Harinath  <harinath@hurrynot.org>
+
+       * basic-profile-check.cs: Add use of 'var' keyword.
+
 2010-04-15  Atsushi Enomoto  <atsushi@ximian.com>
 
        * Consts.cs.in : Add AssemblyWindowsBase, AssemblyPresentationCore_3_5
index dd104e32fa3fd67a3ac0c01570564eef25368490..a945efb220d98bea5a64edf335bbc048f17315e1 100644 (file)
@@ -1,6 +1,10 @@
 class X {
        // Check installed compiler
-       static void Generic<T> () { }
+       static void Generic<T> ()
+       {
+               // we use 'var' all around in the compiler sources
+               var x = new X ();
+       }
 
        static int Main ()
        {