summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidshape-d.check
blob: f0d77e2f2d35050f1d40dc6e59ff2bba4f850cb8 (plain) (blame)
1
2
3
4
5
6
7
8
Macros_Test_2.scala:2: warning: macro is now a reserved word; usage as an identifier is deprecated
  def foo(x: Any) = {2; macro Impls.foo}
                        ^
Macros_Test_2.scala:2: error: ';' expected but '.' found.
  def foo(x: Any) = {2; macro Impls.foo}
                                   ^
one warning found
one error found