summaryrefslogtreecommitdiff
path: root/test/files/pos/t5175.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-27 22:28:41 -0800
committerPaul Phillips <paulp@improving.org>2011-12-27 23:34:56 -0800
commit33ab1a574af0d5f736ab73c5a18cc6a4cb36cbb0 (patch)
tree9377b7c1ecc5f81864178e873b46289af2bfb16a /test/files/pos/t5175.scala
parent99c5d831613bf49afc702dc6aca7ce47b30eab7b (diff)
downloadscala-33ab1a574af0d5f736ab73c5a18cc6a4cb36cbb0.tar.gz
scala-33ab1a574af0d5f736ab73c5a18cc6a4cb36cbb0.tar.bz2
scala-33ab1a574af0d5f736ab73c5a18cc6a4cb36cbb0.zip
Tone down insensible-equality warning.
Closes SI-5175.
Diffstat (limited to 'test/files/pos/t5175.scala')
-rw-r--r--test/files/pos/t5175.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/t5175.scala b/test/files/pos/t5175.scala
new file mode 100644
index 0000000000..e15cc3affd
--- /dev/null
+++ b/test/files/pos/t5175.scala
@@ -0,0 +1,9 @@
+object Test {
+ def ==(p: Phase): Int = 0
+
+ def foo {
+ ==(new Phase())
+ }
+}
+
+class Phase