diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-05-13 08:48:23 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-05-13 08:48:23 +1000 |
commit | a436e9064807d95d5aa9691aebefeccf448734bc (patch) | |
tree | 9cd6198413ef8ea5e885559e4f3230373821c00c /test/files/run/t9298 | |
parent | 0bcd0a40dcfda091bbb665b5f0879d9ce3384ab5 (diff) | |
parent | d253702f9f23186cbf95f611c2fd1a2d08330ad6 (diff) | |
download | scala-a436e9064807d95d5aa9691aebefeccf448734bc.tar.gz scala-a436e9064807d95d5aa9691aebefeccf448734bc.tar.bz2 scala-a436e9064807d95d5aa9691aebefeccf448734bc.zip |
Merge pull request #4500 from lrytz/merge-2.11-may-12
Merge 2.11.x into 2.12.x [ci: last-only]
Diffstat (limited to 'test/files/run/t9298')
-rw-r--r-- | test/files/run/t9298/Test.java | 7 | ||||
-rw-r--r-- | test/files/run/t9298/VC.scala | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t9298/Test.java b/test/files/run/t9298/Test.java new file mode 100644 index 0000000000..81f5265985 --- /dev/null +++ b/test/files/run/t9298/Test.java @@ -0,0 +1,7 @@ +public class Test { + public void consume(VC vc) {} + + public static void main(String[] args) { + new Client().test(); + } +} diff --git a/test/files/run/t9298/VC.scala b/test/files/run/t9298/VC.scala new file mode 100644 index 0000000000..916e62dc59 --- /dev/null +++ b/test/files/run/t9298/VC.scala @@ -0,0 +1,5 @@ +class VC(val s: String) extends AnyVal + +class Client { + def test = new Test().consume(new VC("")) +} |