diff options
author | Marek Safar <marek.safar@gmail.com> | 2012-09-14 15:59:46 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2012-09-14 16:01:22 +0400 |
commit | f7b665e1aad4259cf2d219f3740d9fdee8a48a05 (patch) | |
tree | 0855d1bf29ac61b6eae4a85901e355897625386d /mcs/tests/test-853.cs | |
parent | 6fc934ea50f7744c2310c1daf4e3038e087e8837 (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.cs | 15 |
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 |