aboutsummaryrefslogtreecommitdiff
path: root/tests/run/i2020.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/i2020.scala')
-rw-r--r--tests/run/i2020.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/i2020.scala b/tests/run/i2020.scala
new file mode 100644
index 000000000..78794a590
--- /dev/null
+++ b/tests/run/i2020.scala
@@ -0,0 +1,8 @@
+object Test {
+
+ case class Foo(x: Int)(y: Int)
+
+ def main(args: Array[String]) =
+ assert(Foo(1)(1) == Foo(1)(2))
+
+}