diff options
Diffstat (limited to 'tests/disabled/macro/run/macro-term-declared-in-trait.check')
-rw-r--r-- | tests/disabled/macro/run/macro-term-declared-in-trait.check | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-term-declared-in-trait.check b/tests/disabled/macro/run/macro-term-declared-in-trait.check new file mode 100644 index 000000000..0f3756ddb --- /dev/null +++ b/tests/disabled/macro/run/macro-term-declared-in-trait.check @@ -0,0 +1,15 @@ +prefix = Expr[Nothing]({ + final class $anon extends AnyRef with Base { + def <init>(): <$anon: Base> = { + $anon.super.<init>(); + () + }; + <empty> + }; + new $anon() +}) +it works +prefix = Expr[Nothing](Macros) +it works +prefix = Expr[Nothing](new Macros()) +it works |