diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2017-01-22 14:06:39 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2017-01-22 14:06:39 +0100 |
commit | 945001d439d062f42515f0bb4b8b86136b09fe4c (patch) | |
tree | edd021a4c4c5cceaead9b1b911a369fcd96e169e /tests/pos/i1687b.scala | |
parent | 6c3814aff996a464880e36a0ab3d2a10a2051bfe (diff) | |
download | dotty-945001d439d062f42515f0bb4b8b86136b09fe4c.tar.gz dotty-945001d439d062f42515f0bb4b8b86136b09fe4c.tar.bz2 dotty-945001d439d062f42515f0bb4b8b86136b09fe4c.zip |
Test that #1687 is fixed.
The b-test would compile for a millenia without the fix.
Diffstat (limited to 'tests/pos/i1687b.scala')
-rw-r--r-- | tests/pos/i1687b.scala | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/pos/i1687b.scala b/tests/pos/i1687b.scala new file mode 100644 index 000000000..46bb6649c --- /dev/null +++ b/tests/pos/i1687b.scala @@ -0,0 +1,19 @@ +object O { + def f: String = { + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + + "1" + 1 + "1" + 1 + } +} |