summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-08-16 22:23:54 +0000
committerPaul Phillips <paulp@improving.org>2009-08-16 22:23:54 +0000
commit9cea5f6198e89f886768a45f304dfaa8f769784f (patch)
tree4998349ee12e777f852fdbab6e95aa809d6d7424 /test
parentba8648d13ecd02ab6029ca83ded2802fa56dbcbe (diff)
downloadscala-9cea5f6198e89f886768a45f304dfaa8f769784f.tar.gz
scala-9cea5f6198e89f886768a45f304dfaa8f769784f.tar.bz2
scala-9cea5f6198e89f886768a45f304dfaa8f769784f.zip
Test in pending for #2261.
Diffstat (limited to 'test')
-rw-r--r--test/pending/pos/bug2261.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/pending/pos/bug2261.scala b/test/pending/pos/bug2261.scala
new file mode 100644
index 0000000000..528f769171
--- /dev/null
+++ b/test/pending/pos/bug2261.scala
@@ -0,0 +1,6 @@
+object Test extends Application {
+ class Bob[T]
+ implicit def foo2bar[T](xs: List[T]): Bob[T] = new Bob[T]
+ var x: Bob[Int] = null
+ x = List(1,2,3)
+} \ No newline at end of file