diff --git a/tests/pos/i6008.scala b/tests/pos/i6008.scala new file mode 100644 index 000000000000..0dc48739776b --- /dev/null +++ b/tests/pos/i6008.scala @@ -0,0 +1,6 @@ +import scala.quoted._ + +class C { + type T = Int + def fn(e : Expr[T]) : Expr[T] = '{ $e } +} \ No newline at end of file