summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-06 15:54:27 -0800
committerPaul Phillips <paulp@improving.org>2012-03-16 12:19:02 -0700
commitb27a31b87d5ae42a51ee026d3d4fa181249ec669 (patch)
treee27484919c524ac81ed75283bc67a71e254baa63 /test/files
parent8b3216d48dc9a2750d461321925ca15820f6201f (diff)
downloadscala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.tar.gz
scala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.tar.bz2
scala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.zip
Added alternate test for SI-5545.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/t5545/S_1.scala4
-rw-r--r--test/files/pos/t5545/S_2.scala4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t5545/S_1.scala b/test/files/pos/t5545/S_1.scala
new file mode 100644
index 0000000000..59ec1fd851
--- /dev/null
+++ b/test/files/pos/t5545/S_1.scala
@@ -0,0 +1,4 @@
+trait F[@specialized(Int) T1, R] {
+ def f(v1: T1): R
+ def g = v1 => f(v1)
+}
diff --git a/test/files/pos/t5545/S_2.scala b/test/files/pos/t5545/S_2.scala
new file mode 100644
index 0000000000..59ec1fd851
--- /dev/null
+++ b/test/files/pos/t5545/S_2.scala
@@ -0,0 +1,4 @@
+trait F[@specialized(Int) T1, R] {
+ def f(v1: T1): R
+ def g = v1 => f(v1)
+}