aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/SI-5788.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-12-19 19:01:29 +0100
committerMartin Odersky <odersky@gmail.com>2014-12-19 19:02:31 +0100
commiteb4bb1d092014be19b1669a7c16c6df3e11fda28 (patch)
tree1ea1833e7bfca2faeec7e6b8bba42fe28d17156c /tests/pos/SI-5788.scala
parented1016201ee3f1784243c6d04d84164369c56254 (diff)
downloaddotty-eb4bb1d092014be19b1669a7c16c6df3e11fda28.tar.gz
dotty-eb4bb1d092014be19b1669a7c16c6df3e11fda28.tar.bz2
dotty-eb4bb1d092014be19b1669a7c16c6df3e11fda28.zip
New passing tests.
Diffstat (limited to 'tests/pos/SI-5788.scala')
-rw-r--r--tests/pos/SI-5788.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/SI-5788.scala b/tests/pos/SI-5788.scala
new file mode 100644
index 000000000..f29246180
--- /dev/null
+++ b/tests/pos/SI-5788.scala
@@ -0,0 +1,3 @@
+trait Foo[@specialized(Int) A] {
+ final def bar(a:A):A = bar(a)
+}