summaryrefslogtreecommitdiff
path: root/test/files/pos/spec-thistype.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2009-06-18 17:19:55 +0000
committerIulian Dragos <jaguarul@gmail.com>2009-06-18 17:19:55 +0000
commit3ee6b3653f8c25d7d6b19b9f5d4af7fa082146a8 (patch)
treee97b8c0dd8d61e82f825f528f98842f777621f7a /test/files/pos/spec-thistype.scala
parentbe8e3c69114da5bc3020d5363b338b1c83aa22ef (diff)
downloadscala-3ee6b3653f8c25d7d6b19b9f5d4af7fa082146a8.tar.gz
scala-3ee6b3653f8c25d7d6b19b9f5d4af7fa082146a8.tar.bz2
scala-3ee6b3653f8c25d7d6b19b9f5d4af7fa082146a8.zip
Specialization landed in trunk.
Diffstat (limited to 'test/files/pos/spec-thistype.scala')
-rw-r--r--test/files/pos/spec-thistype.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/spec-thistype.scala b/test/files/pos/spec-thistype.scala
new file mode 100644
index 0000000000..52b2bf34b4
--- /dev/null
+++ b/test/files/pos/spec-thistype.scala
@@ -0,0 +1,3 @@
+class Foo[@specialized A] {
+ def bar(xs: List[A]): this.type = this
+}