diff options
author | Philipp Haller <hallerp@gmail.com> | 2011-07-26 00:08:04 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2011-07-26 00:08:04 +0000 |
commit | 9f9af2ad4885af6257a01efcaabed526e7a64eda (patch) | |
tree | 04be2ea9bc7205c9724d81ddd7274f85913c9c50 /test/files/pos | |
parent | 460f57d5d30cd42e35b55337f9a146070243b20e (diff) | |
download | scala-9f9af2ad4885af6257a01efcaabed526e7a64eda.tar.gz scala-9f9af2ad4885af6257a01efcaabed526e7a64eda.tar.bz2 scala-9f9af2ad4885af6257a01efcaabed526e7a64eda.zip |
Add test for SI-4839. No review.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/contextbounds-implicits.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/contextbounds-implicits.scala b/test/files/pos/contextbounds-implicits.scala new file mode 100644 index 0000000000..f9113ee320 --- /dev/null +++ b/test/files/pos/contextbounds-implicits.scala @@ -0,0 +1,8 @@ +/* Tests implicit parameters in the presence of context bounds. + * See Section 7.4 of the Scala Language Specification. + */ +class C { + + def f[T: Manifest, S: Manifest](x: T, y: S)(implicit p: C) { } + +} |