diff --git a/tests/printing/annot-18064.check b/tests/pos/annot-18064.check similarity index 100% rename from tests/printing/annot-18064.check rename to tests/pos/annot-18064.check diff --git a/tests/printing/annot-18064.scala b/tests/pos/annot-18064.scala similarity index 84% rename from tests/printing/annot-18064.scala rename to tests/pos/annot-18064.scala index 95554fd3a1b7..b6a67ea9ebe7 100644 --- a/tests/printing/annot-18064.scala +++ b/tests/pos/annot-18064.scala @@ -1,3 +1,5 @@ +//> using options "-Xprint:typer" + class myAnnot[T]() extends annotation.Annotation trait Tensor[T]: diff --git a/tests/printing/annot-19846b.check b/tests/pos/annot-19846b.check similarity index 100% rename from tests/printing/annot-19846b.check rename to tests/pos/annot-19846b.check diff --git a/tests/printing/annot-19846b.scala b/tests/printing/annot-19846b.scala deleted file mode 100644 index 951a3c8116ff..000000000000 --- a/tests/printing/annot-19846b.scala +++ /dev/null @@ -1,7 +0,0 @@ -class lambdaAnnot(g: () => Int) extends annotation.StaticAnnotation - -def f(x: Int): Int @lambdaAnnot(() => x) = x - -object Test: - val y: Int = ??? - val z /* : Int @lambdaAnnot(() => y) */ = f(y)