summaryrefslogtreecommitdiff
path: root/test/files/pos/t7486-named.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-08-21 12:05:23 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-08-21 12:05:23 +0200
commitbc6d4b5c1d6746528fd442d8504f30909d7e6067 (patch)
tree2423f1077563ebc3687d422d5e5639912a9dcf3a /test/files/pos/t7486-named.scala
parented230b51affa509a03298182b281afce5a74a87d (diff)
downloadscala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.tar.gz
scala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.tar.bz2
scala-bc6d4b5c1d6746528fd442d8504f30909d7e6067.zip
SI-7486 More tests for cycles triggered by implicit search
Moved an existing test from `pending` to `pos`. Not sure why it was moved to `pending` in the first place. Adds a new test distilled from building Scalaz with 2.10.3-RC1.
Diffstat (limited to 'test/files/pos/t7486-named.scala')
-rw-r--r--test/files/pos/t7486-named.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t7486-named.scala b/test/files/pos/t7486-named.scala
new file mode 100644
index 0000000000..253293e5f1
--- /dev/null
+++ b/test/files/pos/t7486-named.scala
@@ -0,0 +1,8 @@
+
+object Test {
+ def fold(empty: Any) = ()
+ implicit val notAnnotatedImplicit = new {
+ fold(empty = 0)
+ def empty[A]: Any = ???
+ }
+}