summaryrefslogtreecommitdiff
path: root/test/files/detach-neg/det_bar.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/detach-neg/det_bar.check')
-rw-r--r--test/files/detach-neg/det_bar.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/detach-neg/det_bar.check b/test/files/detach-neg/det_bar.check
new file mode 100644
index 0000000000..70b47581a5
--- /dev/null
+++ b/test/files/detach-neg/det_bar.check
@@ -0,0 +1,4 @@
+det_bar.scala:7: error: detach inapplicable for method bar
+ detach(bar)
+ ^
+one error found