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