diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-10-11 12:10:37 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-22 20:10:19 +0100 |
commit | 9760fb7bbb5ceaeba98b6625470bd9f03755a31d (patch) | |
tree | 02640601607646bf3f6150326247cff1186d0c79 /tests | |
parent | 1e1f260577d8522a5c99052cea5b3ebe64a12830 (diff) | |
download | dotty-9760fb7bbb5ceaeba98b6625470bd9f03755a31d.tar.gz dotty-9760fb7bbb5ceaeba98b6625470bd9f03755a31d.tar.bz2 dotty-9760fb7bbb5ceaeba98b6625470bd9f03755a31d.zip |
Testcase that shows bug in ElimRepeated.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/repeatedArgs.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/repeatedArgs.scala b/tests/pos/repeatedArgs.scala new file mode 100644 index 000000000..f9abb4aee --- /dev/null +++ b/tests/pos/repeatedArgs.scala @@ -0,0 +1,3 @@ +object testRepeated { + def foo = java.lang.System.out.format("%4$2s %3$2s %2$2s %1$2s", "a", "b", "c", "d") +} |