diff options
Diffstat (limited to 'test/pending/run/macro-expand-default/Macros_Test_2.scala')
-rw-r--r-- | test/pending/run/macro-expand-default/Macros_Test_2.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/run/macro-expand-default/Macros_Test_2.scala b/test/pending/run/macro-expand-default/Macros_Test_2.scala new file mode 100644 index 0000000000..92fe84d04a --- /dev/null +++ b/test/pending/run/macro-expand-default/Macros_Test_2.scala @@ -0,0 +1,8 @@ +object Test extends App { + def foo(x: Int = 2, y: Int = -40) = macro Impls.foo + foo(y = -40, x = 2) + foo(x = 2, y = -40) + foo(x = 100) + foo(y = 100) + foo() +}
\ No newline at end of file |