diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-02-16 16:45:27 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-02-16 16:45:27 +0100 |
commit | 6ef6c96eff2f0d2f505d45a1436d73a960193076 (patch) | |
tree | 6df5b2255fb4e369059fae1f3efbfdbe9c1506c6 /test/files/neg/macro-argc-mismatch/Test_2.scala | |
parent | d300fb6250dc0abdfb74194438bfc778446a9856 (diff) | |
parent | a02e053a5dec134f7c7dc53a2c1091039218237d (diff) | |
download | scala-6ef6c96eff2f0d2f505d45a1436d73a960193076.tar.gz scala-6ef6c96eff2f0d2f505d45a1436d73a960193076.tar.bz2 scala-6ef6c96eff2f0d2f505d45a1436d73a960193076.zip |
Merge pull request #3397 from xeno-by/ticket/5920
SI-5920 enables default and named args in macros
Diffstat (limited to 'test/files/neg/macro-argc-mismatch/Test_2.scala')
-rw-r--r-- | test/files/neg/macro-argc-mismatch/Test_2.scala | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/files/neg/macro-argc-mismatch/Test_2.scala b/test/files/neg/macro-argc-mismatch/Test_2.scala new file mode 100644 index 0000000000..28f9c35654 --- /dev/null +++ b/test/files/neg/macro-argc-mismatch/Test_2.scala @@ -0,0 +1,19 @@ +import Macros._ + +object Test extends App { + one + one() + one(2, 3) + one()() + one(1)() + + two + two() + two(2, 3) + two()() + two(1) + two(1)() + two(1)(2, 3) + two(1)()() + two(1)(1)() +}
\ No newline at end of file |