summaryrefslogtreecommitdiff
path: root/test/files/run/t10097.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t10097.scala')
-rw-r--r--test/files/run/t10097.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t10097.scala b/test/files/run/t10097.scala
new file mode 100644
index 0000000000..a16be897cc
--- /dev/null
+++ b/test/files/run/t10097.scala
@@ -0,0 +1,6 @@
+
+case class C(implicit c: Int)
+
+object Test extends App {
+ assert(C()(42).productArity == 0)
+}