New test.
authorMarek Safar <marek.safar@gmail.com>
Tue, 25 Aug 2009 14:21:45 +0000 (14:21 -0000)
committerMarek Safar <marek.safar@gmail.com>
Tue, 25 Aug 2009 14:21:45 +0000 (14:21 -0000)
svn path=/trunk/mcs/; revision=140622

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

diff --git a/mcs/tests/gtest-457.cs b/mcs/tests/gtest-457.cs
new file mode 100644 (file)
index 0000000..99509e8
--- /dev/null
@@ -0,0 +1,17 @@
+using System;
+
+class Program
+{
+       class C
+       {
+       }
+
+       void Foo<T> () where T : C
+       {
+       }
+
+       static int Main ()
+       {
+               return 0;
+       }
+}
index 83dd2d7cbdf25a451b012b7861853997a49fb7a5..78d9d45b9aa7933f377d075047a799101594942f 100644 (file)
       </method>
     </type>
   </test>
+  <test name="gtest-457.cs">
+    <type name="Program">
+      <method name="Void Foo[T]()">
+        <size>1</size>
+      </method>
+      <method name="Int32 Main()">
+        <size>2</size>
+      </method>
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+    </type>
+    <type name="Program+C">
+      <method name="Void .ctor()">
+        <size>7</size>
+      </method>
+    </type>
+  </test>
   <test name="gtest-anon-1.cs">
     <type name="X">
       <method name="Void .ctor()">