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:
authorMartin Baulig <martin@novell.com>2006-06-13 19:51:36 +0400
committerMartin Baulig <martin@novell.com>2006-06-13 19:51:36 +0400
commit40bffb6657d0f8df0e3edfa480b8fd4a6ea0c273 (patch)
tree04c3bc34528d98253e2d338e2940283a47463844 /mcs/tests/gtest-268.cs
parent32059454f785432baf27dbad285619e13c21d2ce (diff)
2006-06-13 Martin Baulig <martin@ximian.com>
* ecore.cs (SimpleName.DoSimpleNameResolve): Check whether we have type arguments and create a ConstructedType if necessary. Fixes #78400. svn path=/trunk/mcs/; revision=61666
Diffstat (limited to 'mcs/tests/gtest-268.cs')
-rwxr-xr-xmcs/tests/gtest-268.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/gtest-268.cs b/mcs/tests/gtest-268.cs
new file mode 100755
index 00000000000..106fb364ec4
--- /dev/null
+++ b/mcs/tests/gtest-268.cs
@@ -0,0 +1,16 @@
+public class Test
+{
+ void Bar ()
+ {
+ G<int> g = G<int>.Instance;
+ }
+
+ // When it goes outside, there is no error.
+ public class G<T>
+ {
+ public static G<T> Instance;
+ }
+
+ static void Main ()
+ { }
+}