Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2008-12-18 22:01:46 +0300
committerMarek Safar <marek.safar@gmail.com>2008-12-18 22:01:46 +0300
commit13a1ecedef1ea1e502195b54acfe10097c0b804a (patch)
treee5b0b681e330c114b10f1bb9dc5898b22e72951d /mcs/tests/gtest-432.cs
parentbfa7bdf029f829fb7fcf0656799060d51eb966f3 (diff)
New tests.
svn path=/trunk/mcs/; revision=121799
Diffstat (limited to 'mcs/tests/gtest-432.cs')
-rw-r--r--mcs/tests/gtest-432.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/gtest-432.cs b/mcs/tests/gtest-432.cs
new file mode 100644
index 00000000000..66a526dfc20
--- /dev/null
+++ b/mcs/tests/gtest-432.cs
@@ -0,0 +1,23 @@
+namespace Test
+{
+ public class Bar<T, U>
+ {
+ public void DoSomething<V> () where V : U
+ {
+ }
+ }
+
+ public class Baz
+ {
+ public void GetInTroubleHere ()
+ {
+ var bar = new Bar<string, string> ();
+ bar.DoSomething<string> ();
+ }
+
+ public static void Main ()
+ {
+ }
+ }
+}
+