summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/SI-5788.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/pos/SI-5788.scala b/test/files/pos/SI-5788.scala
index 93b84bde87..f292461804 100644
--- a/test/files/pos/SI-5788.scala
+++ b/test/files/pos/SI-5788.scala
@@ -1,4 +1,3 @@
-trait Test {
- trait B[T]
- private final def grow[T](): B[T] = grow[T]()
+trait Foo[@specialized(Int) A] {
+ final def bar(a:A):A = bar(a)
}