aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-invalidusage-badbounds.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/macro-invalidusage-badbounds.check')
-rw-r--r--tests/untried/neg/macro-invalidusage-badbounds.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-invalidusage-badbounds.check b/tests/untried/neg/macro-invalidusage-badbounds.check
new file mode 100644
index 000000000..277f407d3
--- /dev/null
+++ b/tests/untried/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