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>2007-10-05 15:51:48 +0400
committerMarek Safar <marek.safar@gmail.com>2007-10-05 15:51:48 +0400
commitdf68467ac5a1dbc954f8f70e5bdff42bf7f13394 (patch)
treeafb19ddfae0d2450d94e03fe68c8dbf8873a9679 /mcs/tests/gtest-342.cs
parent0ca49732e84aef3ff7a23fdb42bb7035c7086675 (diff)
A test for bug #327504
svn path=/trunk/mcs/; revision=86967
Diffstat (limited to 'mcs/tests/gtest-342.cs')
-rw-r--r--mcs/tests/gtest-342.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/gtest-342.cs b/mcs/tests/gtest-342.cs
new file mode 100644
index 00000000000..f6edded8d4d
--- /dev/null
+++ b/mcs/tests/gtest-342.cs
@@ -0,0 +1,14 @@
+class Base<T> where T : Base<T>
+{
+ public static implicit operator T (Base<T> t)
+ {
+ return (T) t;
+ }
+}
+
+class TestMain {
+ public static void Main (string [] args)
+ {
+ }
+}
+