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>2009-08-07 14:53:03 +0400
committerMarek Safar <marek.safar@gmail.com>2009-08-07 14:53:03 +0400
commitf541e61ee6a74c3068deddff052770be7c929107 (patch)
tree45ed2dd1993186f8afc3975e1b3a903832a6ac92 /mcs/tests/dtest-002.cs
parent727841576eba9c252beef79c2c149bb4e44f1379 (diff)
New tests.
svn path=/trunk/mcs/; revision=139562
Diffstat (limited to 'mcs/tests/dtest-002.cs')
-rw-r--r--mcs/tests/dtest-002.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/dtest-002.cs b/mcs/tests/dtest-002.cs
new file mode 100644
index 00000000000..010136aa4eb
--- /dev/null
+++ b/mcs/tests/dtest-002.cs
@@ -0,0 +1,23 @@
+public interface I
+{
+ dynamic D ();
+ object D2 ();
+}
+
+public class C : I
+{
+ public object D ()
+ {
+ return null;
+ }
+
+ public dynamic D2 ()
+ {
+ return null;
+ }
+
+ public static int Main ()
+ {
+ return 0;
+ }
+}