summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-argc-mismatch/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-argc-mismatch/Test_2.scala')
-rw-r--r--test/files/neg/macro-argc-mismatch/Test_2.scala19
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