diff --git a/tests/pos/t10533.scala b/tests/pos/t10533.scala new file mode 100644 index 000000000000..d84e87b0bc21 --- /dev/null +++ b/tests/pos/t10533.scala @@ -0,0 +1,5 @@ +object Foo { + val b @ Bar(_) = Bar(1)(2)(3) +} + +case class Bar(a: Int)(b: Int)(c: Int)