From aa5178270876f0c85b7f4c38218b92616ac1c57a Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 10 Mar 2020 07:05:07 +0100 Subject: [PATCH] Fix #7403: Fix regression test --- tests/pos-macros/i7322/Macro_1.scala | 7 ------- tests/{pos-macros/i7322/Test_2.scala => pos/i7403.scala} | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 tests/pos-macros/i7322/Macro_1.scala rename tests/{pos-macros/i7322/Test_2.scala => pos/i7403.scala} (97%) diff --git a/tests/pos-macros/i7322/Macro_1.scala b/tests/pos-macros/i7322/Macro_1.scala deleted file mode 100644 index d465d28ee099..000000000000 --- a/tests/pos-macros/i7322/Macro_1.scala +++ /dev/null @@ -1,7 +0,0 @@ -import scala.quoted.{ QuoteContext, Expr, Type } - -trait M[T] { - def f: Any -} - -inline def g[T: Type](em: Expr[M[T]])(using QuoteContext) = '{$em.f} diff --git a/tests/pos-macros/i7322/Test_2.scala b/tests/pos/i7403.scala similarity index 97% rename from tests/pos-macros/i7322/Test_2.scala rename to tests/pos/i7403.scala index 3ced653096d1..36817fc2c14c 100644 --- a/tests/pos-macros/i7322/Test_2.scala +++ b/tests/pos/i7403.scala @@ -5,4 +5,4 @@ object Test { println(5.pow2) -} \ No newline at end of file +}