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>2011-04-15 17:04:40 +0400
committerMarek Safar <marek.safar@gmail.com>2011-04-15 17:05:23 +0400
commit31036761b4774a48a2276c3b7461ffeb559feee2 (patch)
tree7b5d6516e141ed33de351cf66792fda9339eb5c4 /mcs/tests/gtest-558.cs
parentf26a050098ec3a6433bbf7d38bd47dd3a96ea56e (diff)
More fun with value type constraints
Diffstat (limited to 'mcs/tests/gtest-558.cs')
-rw-r--r--mcs/tests/gtest-558.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tests/gtest-558.cs b/mcs/tests/gtest-558.cs
index 18038cfd9a5..3db576fde2d 100644
--- a/mcs/tests/gtest-558.cs
+++ b/mcs/tests/gtest-558.cs
@@ -10,6 +10,11 @@ class B : A<int>
public override void Foo<U> (U arg)
{
ValueType vt = arg;
+ Next (arg);
+ }
+
+ void Next<UU> (UU a) where UU : struct
+ {
}
public static void Main ()