diff options
Diffstat (limited to 'test/files/run/macro-expand-tparams-bounds-b/Macros_Test_2.scala')
-rw-r--r-- | test/files/run/macro-expand-tparams-bounds-b/Macros_Test_2.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/macro-expand-tparams-bounds-b/Macros_Test_2.scala b/test/files/run/macro-expand-tparams-bounds-b/Macros_Test_2.scala new file mode 100644 index 0000000000..1a261e9f73 --- /dev/null +++ b/test/files/run/macro-expand-tparams-bounds-b/Macros_Test_2.scala @@ -0,0 +1,10 @@ +class D extends C + +object Macros { + def foo[T <: D] = macro Impls.foo[T] +} + +object Test extends App { + import Macros._ + foo[D] +}
\ No newline at end of file |