summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-tparams-bounds-a.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-invalidsig-tparams-bounds-a.check')
-rw-r--r--test/files/neg/macro-invalidsig-tparams-bounds-a.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/macro-invalidsig-tparams-bounds-a.check b/test/files/neg/macro-invalidsig-tparams-bounds-a.check
new file mode 100644
index 0000000000..6ba80b45c0
--- /dev/null
+++ b/test/files/neg/macro-invalidsig-tparams-bounds-a.check
@@ -0,0 +1,4 @@
+Macros_Test_2.scala:2: error: type arguments [U] do not conform to method foo's type parameter bounds [U <: String]
+ def foo[U] = macro Impls.foo[U]
+ ^
+one error found