New test.
authorMarek Safar <marek.safar@gmail.com>
Fri, 30 Jan 2009 14:54:22 +0000 (14:54 -0000)
committerMarek Safar <marek.safar@gmail.com>
Fri, 30 Jan 2009 14:54:22 +0000 (14:54 -0000)
svn path=/trunk/mcs/; revision=125098

mcs/tests/gtest-etree-15.cs [new file with mode: 0644]
mcs/tests/ver-il-gmcs.xml

diff --git a/mcs/tests/gtest-etree-15.cs b/mcs/tests/gtest-etree-15.cs
new file mode 100644 (file)
index 0000000..214b9ae
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+using System.Linq.Expressions;
+using System.Collections.Generic;
+
+static public class Foo
+{
+       static public int Helper (Expression<Predicate<int>> match)
+       {
+               return 0;
+       }
+
+       static public void Main ()
+       {
+               Expression<Action<List<int>>> exp = x => x.Add (Helper (i => true));
+               exp.Compile () (new List<int> { 1 });
+       }
+}
index d8a2843da1d3e55c88afe07fc93c3406c1c0442b..9c6e97d98d48e6bbba00e5cc020033b962512ad5 100644 (file)
       </method>
     </type>
   </test>
+  <test name="gtest-etree-15.cs">
+    <type name="Foo">
+      <method name="Int32 Helper(System.Linq.Expressions.Expression`1[System.Predicate`1[System.Int32]])">
+        <size>2</size>
+      </method>
+      <method name="Void Main()">
+        <size>190</size>
+      </method>
+    </type>
+  </test>
   <test name="gtest-exmethod-01.cs">
     <type name="SimpleTest">
       <method name="System.String Prefix(System.String, System.String)">