diff options
Diffstat (limited to 'tests/disabled/macro/run/reify_ann4.check')
-rw-r--r-- | tests/disabled/macro/run/reify_ann4.check | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/reify_ann4.check b/tests/disabled/macro/run/reify_ann4.check new file mode 100644 index 000000000..8bf5fe324 --- /dev/null +++ b/tests/disabled/macro/run/reify_ann4.check @@ -0,0 +1,32 @@ +{ + class D extends StaticAnnotation { + def <init>() = { + super.<init>(); + () + } + }; + class C extends AnyRef { + def <init>() = { + super.<init>(); + () + } + }; + val c1 = new C @D(); + () +} +{ + class D extends scala.annotation.Annotation with scala.annotation.StaticAnnotation { + def <init>(): D = { + D.super.<init>(); + () + } + }; + class C extends AnyRef { + def <init>(): C = { + C.super.<init>(); + () + } + }; + val c1: C = new C @D(); + () +} |