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-07-28 12:44:23 +0400
committerMarek Safar <marek.safar@gmail.com>2010-07-28 12:44:23 +0400
commit491b93da3e94b99c26a67c45db8f7591a1019761 (patch)
treebc97da704844c1c5ed69014bbc2a3324fe5fb51c /mcs/tests/gtest-522.cs
parent2291d400db58d0218cef3b7404dbceb743a7ce79 (diff)
New tests
Diffstat (limited to 'mcs/tests/gtest-522.cs')
-rw-r--r--mcs/tests/gtest-522.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/tests/gtest-522.cs b/mcs/tests/gtest-522.cs
new file mode 100644
index 00000000000..ea00831aecb
--- /dev/null
+++ b/mcs/tests/gtest-522.cs
@@ -0,0 +1,25 @@
+using System;
+
+class C<T>
+{
+ public static int Foo;
+}
+
+class X
+{
+ public static void Main ()
+ {
+ }
+
+ void Test<T> (T A)
+ {
+ A<T> ();
+
+ object C;
+ var c = C<int>.Foo;
+ }
+
+ static void A<U> ()
+ {
+ }
+}