diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2006-12-08 15:07:59 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2006-12-08 15:07:59 +0300 |
commit | b72b6cc21e56445f4575e14e96a61f9d01d52b07 (patch) | |
tree | 124e380c458b01105a7d670ec7d4c6e92e178fdd /mcs/tests/gtest-299.cs | |
parent | 0eafed38337b992654bfc045c5afcbc74179d66c (diff) |
Fix #80060
* mcs/cs-tokenizer.cs (parse_less_than): Recognize double-colons too.
* tests/gtest-299.cs: New test based on #80060.
svn path=/trunk/mcs/; revision=69222
Diffstat (limited to 'mcs/tests/gtest-299.cs')
-rw-r--r-- | mcs/tests/gtest-299.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/tests/gtest-299.cs b/mcs/tests/gtest-299.cs new file mode 100644 index 00000000000..fbaa9c4f03b --- /dev/null +++ b/mcs/tests/gtest-299.cs @@ -0,0 +1,13 @@ +using System; +using X = N; +namespace N { class A {} } +class B<T> { } +class Test { + static public B<X::A> q; + static void Main () + { + q = new B<N.A> (); + if (typeof (B<X::A>) != typeof (B<X.A>)) + throw new Exception ("huh"); + } +} |