diff options
Diffstat (limited to 'tests/run/t6644.scala')
-rw-r--r-- | tests/run/t6644.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/t6644.scala b/tests/run/t6644.scala new file mode 100644 index 000000000..5a9850290 --- /dev/null +++ b/tests/run/t6644.scala @@ -0,0 +1,8 @@ +class Testable(val c: String) extends AnyVal { + def matching(cases: Boolean*) = cases contains true +} + +object Test extends dotty.runtime.LegacyApp { + assert(new Testable("").matching(true, false)) +} + |