diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-06 15:54:27 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-16 12:19:02 -0700 |
commit | b27a31b87d5ae42a51ee026d3d4fa181249ec669 (patch) | |
tree | e27484919c524ac81ed75283bc67a71e254baa63 /test/files/pos | |
parent | 8b3216d48dc9a2750d461321925ca15820f6201f (diff) | |
download | scala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.tar.gz scala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.tar.bz2 scala-b27a31b87d5ae42a51ee026d3d4fa181249ec669.zip |
Added alternate test for SI-5545.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t5545/S_1.scala | 4 | ||||
-rw-r--r-- | test/files/pos/t5545/S_2.scala | 4 |
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) +} |