summaryrefslogtreecommitdiff
path: root/test/files/run/t8610.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8610.check')
-rw-r--r--test/files/run/t8610.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t8610.check b/test/files/run/t8610.check
new file mode 100644
index 0000000000..b3ab7a9cef
--- /dev/null
+++ b/test/files/run/t8610.check
@@ -0,0 +1,7 @@
+t8610.scala:6: warning: Adapting argument list by creating a 2-tuple: this may not be what you want.
+ signature: X.f(p: (Int, Int)): Int
+ given arguments: 3, 4
+ after adaptation: X.f((3, 4): (Int, Int))
+ def g = f(3, 4) // adapted
+ ^
+Hi, $name