diff options
author | Marek Safar <marek.safar@gmail.com> | 2011-04-15 17:04:40 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2011-04-15 17:05:23 +0400 |
commit | 31036761b4774a48a2276c3b7461ffeb559feee2 (patch) | |
tree | 7b5d6516e141ed33de351cf66792fda9339eb5c4 /mcs/tests/gtest-558.cs | |
parent | f26a050098ec3a6433bbf7d38bd47dd3a96ea56e (diff) |
More fun with value type constraints
Diffstat (limited to 'mcs/tests/gtest-558.cs')
-rw-r--r-- | mcs/tests/gtest-558.cs | 5 |
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 () |