summaryrefslogtreecommitdiff
path: root/test/files/run/macro-rangepos-args/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-rangepos-args/Test_2.scala')
-rw-r--r--test/files/run/macro-rangepos-args/Test_2.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/macro-rangepos-args/Test_2.scala b/test/files/run/macro-rangepos-args/Test_2.scala
new file mode 100644
index 0000000000..8c770e9010
--- /dev/null
+++ b/test/files/run/macro-rangepos-args/Test_2.scala
@@ -0,0 +1,4 @@
+object Test extends App {
+ val x = 2
+ println(Macros.pos(x + 2))
+} \ No newline at end of file