diff options
Diffstat (limited to 'test/disabled/neg/macro-invalidshape-d/Macros_Test_2.scala')
-rw-r--r-- | test/disabled/neg/macro-invalidshape-d/Macros_Test_2.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/disabled/neg/macro-invalidshape-d/Macros_Test_2.scala b/test/disabled/neg/macro-invalidshape-d/Macros_Test_2.scala new file mode 100644 index 0000000000..bacd9a6e7c --- /dev/null +++ b/test/disabled/neg/macro-invalidshape-d/Macros_Test_2.scala @@ -0,0 +1,8 @@ +object Macros { + def foo(x: Any) = {2; macro Impls.foo} +} + +object Test extends App { + import Macros._ + foo(42) +}
\ No newline at end of file |