diff --git a/tests/pos/i7262.scala b/tests/pos/i7262.scala new file mode 100644 index 000000000000..d89dbcf64eea --- /dev/null +++ b/tests/pos/i7262.scala @@ -0,0 +1,6 @@ +import scala.quoted._ +class Foo { + def f[T](t: Type[T])(using QuoteContext) = t match { + case '[ Int *: Unit ] => + } +}