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>2010-05-11 14:29:51 +0400
committerMarek Safar <marek.safar@gmail.com>2010-05-11 14:29:51 +0400
commit6afe08f6c74db32213c1d402f7ab0b7b70ae1352 (patch)
tree539c728e13c0844a4848bd9e1ce6397eaddf4462 /mcs/tests/gtest-508.cs
parent6267231f584adc0c4b61b239dce352f9e46bc40c (diff)
New test.
svn path=/trunk/mcs/; revision=157108
Diffstat (limited to 'mcs/tests/gtest-508.cs')
-rw-r--r--mcs/tests/gtest-508.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/gtest-508.cs b/mcs/tests/gtest-508.cs
new file mode 100644
index 00000000000..5d83ae4eca9
--- /dev/null
+++ b/mcs/tests/gtest-508.cs
@@ -0,0 +1,21 @@
+using T = A<int>;
+
+class B : T
+{
+ public B (int i)
+ : base (i)
+ {
+ }
+
+ public static void Main ()
+ {
+ T t = new B (4);
+ }
+}
+
+class A<T> where T : struct
+{
+ protected A(T t)
+ {
+ }
+}