summaryrefslogtreecommitdiff
path: root/test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala')
-rw-r--r--test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala b/test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala
new file mode 100644
index 0000000000..7d16b773a6
--- /dev/null
+++ b/test/pending/run/macro-expand-macro-has-context-bound/Macros_Test_2.scala
@@ -0,0 +1,4 @@
+object Test extends App {
+ def foo[U: Numeric](x: U) = macro Impls.foo[U]
+ foo(42)
+} \ No newline at end of file