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-08-24 11:25:17 +0400
committerMarek Safar <marek.safar@gmail.com>2010-08-24 11:26:21 +0400
commitf40b115020158714fcf61fa7ff2ca6f5dc55cf72 (patch)
tree1048f972cdf68e06263615a94bda3a6c62299503 /mcs/tests/dtest-022.cs
parent525e35d89c147b9dd84fc223aa529689c410c926 (diff)
Dynamic shares object members internally
Diffstat (limited to 'mcs/tests/dtest-022.cs')
-rw-r--r--mcs/tests/dtest-022.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/dtest-022.cs b/mcs/tests/dtest-022.cs
new file mode 100644
index 00000000000..a204674b000
--- /dev/null
+++ b/mcs/tests/dtest-022.cs
@@ -0,0 +1,14 @@
+using System;
+
+public class C
+{
+ static void M<T> (T t) where T : new ()
+ {
+ }
+
+ public static int Main ()
+ {
+ M<dynamic> (null);
+ return 0;
+ }
+}