diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-29 00:21:43 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-31 11:00:43 -0800 |
commit | b47bb0fe1a0eb2f60f280ef0fa62a6f0be65580b (patch) | |
tree | 5088c371b1741965320be62da9cc3ef4f4f2f2fe /test/files/jvm/patmat_opt_primitive_typetest/test.scala | |
parent | 494ba94518c9b40b7bf600ec7b70561842375597 (diff) | |
download | scala-b47bb0fe1a0eb2f60f280ef0fa62a6f0be65580b.tar.gz scala-b47bb0fe1a0eb2f60f280ef0fa62a6f0be65580b.tar.bz2 scala-b47bb0fe1a0eb2f60f280ef0fa62a6f0be65580b.zip |
no type test if static type <:< primitive value class
Diffstat (limited to 'test/files/jvm/patmat_opt_primitive_typetest/test.scala')
-rw-r--r-- | test/files/jvm/patmat_opt_primitive_typetest/test.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/jvm/patmat_opt_primitive_typetest/test.scala b/test/files/jvm/patmat_opt_primitive_typetest/test.scala new file mode 100644 index 0000000000..2927e763d5 --- /dev/null +++ b/test/files/jvm/patmat_opt_primitive_typetest/test.scala @@ -0,0 +1,8 @@ +import scala.tools.partest.BytecodeTest + +object Test extends BytecodeTest { + def show: Unit = { + val classNode = loadClassNode("SameBytecode") + sameBytecode(getMethod(classNode, "a"), getMethod(classNode, "b")) + } +} |