diff options
author | Martin Baulig <martin@novell.com> | 2006-06-13 19:51:36 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2006-06-13 19:51:36 +0400 |
commit | 40bffb6657d0f8df0e3edfa480b8fd4a6ea0c273 (patch) | |
tree | 04c3bc34528d98253e2d338e2940283a47463844 /mcs/tests/gtest-268.cs | |
parent | 32059454f785432baf27dbad285619e13c21d2ce (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-x | mcs/tests/gtest-268.cs | 16 |
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 () + { } +} |