diff options
Diffstat (limited to 'test/files/neg/macro-invalidusage-presuper.check')
-rw-r--r-- | test/files/neg/macro-invalidusage-presuper.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/macro-invalidusage-presuper.check b/test/files/neg/macro-invalidusage-presuper.check new file mode 100644 index 0000000000..f63a0eef80 --- /dev/null +++ b/test/files/neg/macro-invalidusage-presuper.check @@ -0,0 +1,4 @@ +Macros_Test_2.scala:3: error: only type definitions and concrete field definitions allowed in early object initialization section +class D extends { def x = macro impl } with AnyRef + ^ +one error found |