projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6267231
)
New test.
author
Marek Safar
<marek.safar@gmail.com>
Tue, 11 May 2010 10:29:51 +0000
(10:29 -0000)
committer
Marek Safar
<marek.safar@gmail.com>
Tue, 11 May 2010 10:29:51 +0000
(10:29 -0000)
svn path=/trunk/mcs/; revision=157108
mcs/tests/gtest-508.cs
[new file with mode: 0644]
patch
|
blob
diff --git a/mcs/tests/gtest-508.cs
b/mcs/tests/gtest-508.cs
new file mode 100644
(file)
index 0000000..
5d83ae4
--- /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)
+ {
+ }
+}