summaryrefslogblamecommitdiff
path: root/test/files/run/macro-term-declared-in-trait.check
blob: 0f3756ddb66103f2d4e591dfb2a580c0e82cfc83 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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