summaryrefslogtreecommitdiff
path: root/test/files/neg/t6355.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6355.check')
-rw-r--r--test/files/neg/t6355.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t6355.check b/test/files/neg/t6355.check
new file mode 100644
index 0000000000..c1fa147f52
--- /dev/null
+++ b/test/files/neg/t6355.check
@@ -0,0 +1,4 @@
+t6355.scala:12: error: implementation restriction: applyDynamic cannot be overloaded
+ def applyDynamic(name: String)(x: Int): Int = 2
+ ^
+one error found