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:
authorRaja R Harinath <harinath@hurrynot.org>2008-07-10 17:33:49 +0400
committerRaja R Harinath <harinath@hurrynot.org>2008-07-10 17:33:49 +0400
commitf10a5233e576e89fb3b867c023bebfdd1d25d7bb (patch)
tree3fc4ddf87eec8fefe0fa093574e6fc6b5589a0aa /mcs/tests/gtest-402.cs
parentc28dd9039fe8f61628bd28d70fad645787551c38 (diff)
Fix bug #314902
* mcs/cs-tokenizer.cs (is_punct): If a generic lookahead is looking only one '>', and finds a '>>', abort the generic lookahead. * tests/gtest-402.cs: New test from #314903. svn path=/trunk/mcs/; revision=107638
Diffstat (limited to 'mcs/tests/gtest-402.cs')
-rw-r--r--mcs/tests/gtest-402.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/gtest-402.cs b/mcs/tests/gtest-402.cs
new file mode 100644
index 00000000000..61d2b9f99c1
--- /dev/null
+++ b/mcs/tests/gtest-402.cs
@@ -0,0 +1,10 @@
+class X {
+ static void Main ()
+ {
+ int h = 1, o = 2;
+
+ if (h+4 < o >> 3){
+ }
+ }
+}
+