aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/case-collision.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/case-collision.check')
-rw-r--r--tests/untried/neg/case-collision.check12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/untried/neg/case-collision.check b/tests/untried/neg/case-collision.check
new file mode 100644
index 000000000..22cf105a4
--- /dev/null
+++ b/tests/untried/neg/case-collision.check
@@ -0,0 +1,12 @@
+case-collision.scala:5: warning: Class foo.BIPPY differs only in case from foo.Bippy. Such classes will overwrite one another on case-insensitive filesystems.
+class BIPPY
+ ^
+case-collision.scala:11: warning: Class foo.HyRaX$ differs only in case from foo.Hyrax$. Such classes will overwrite one another on case-insensitive filesystems.
+object HyRaX
+ ^
+case-collision.scala:8: warning: Class foo.DINGO$ differs only in case from foo.Dingo$. Such classes will overwrite one another on case-insensitive filesystems.
+object DINGO
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+three warnings found
+one error found