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>2012-09-14 15:59:46 +0400
committerMarek Safar <marek.safar@gmail.com>2012-09-14 16:01:22 +0400
commitf7b665e1aad4259cf2d219f3740d9fdee8a48a05 (patch)
tree0855d1bf29ac61b6eae4a85901e355897625386d /mcs/tests/test-853.cs
parent6fc934ea50f7744c2310c1daf4e3038e087e8837 (diff)
Fix parsing of \r in quoted strings. Fixes #6984
Diffstat (limited to 'mcs/tests/test-853.cs')
-rw-r--r--mcs/tests/test-853.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-853.cs b/mcs/tests/test-853.cs
new file mode 100644
index 00000000000..71faf5370a1
--- /dev/null
+++ b/mcs/tests/test-853.cs
@@ -0,0 +1,15 @@
+using System;
+
+class Program
+{
+ static int Main ()
+ {
+string s = @"a
+
+";
+ if (s.Length != 5)
+ return 1;
+
+ return 0;
+ }
+} \ No newline at end of file