diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-11-19 02:05:18 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-11-19 02:05:18 +0300 |
commit | 54ac0e726f0261f02410fef91cac099433682706 (patch) | |
tree | 7e6f0c3f5f2be93dc4f70e0ab28efd26c1fd264c /mcs/tests/test-538.cs | |
parent | 4b4c5d86c6029013d83b61d71f851048d0688aa9 (diff) |
New tests.
svn path=/trunk/mcs/; revision=68138
Diffstat (limited to 'mcs/tests/test-538.cs')
-rw-r--r-- | mcs/tests/test-538.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/test-538.cs b/mcs/tests/test-538.cs new file mode 100644 index 00000000000..0728da15424 --- /dev/null +++ b/mcs/tests/test-538.cs @@ -0,0 +1,18 @@ +delegate IInterface testDelegate(concrete x);
+
+interface IInterface {
+}
+
+class concrete : IInterface {
+}
+
+class Program {
+ private concrete getConcrete(IInterface z) {
+ return new concrete();
+ }
+
+ public static void Main(string[] args) {
+ Program p = new Program();
+ testDelegate x = new testDelegate(p.getConcrete);
+ }
+}
\ No newline at end of file |