summaryrefslogtreecommitdiff
path: root/test/files/jvm/patmat_opt_no_nullcheck/test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/patmat_opt_no_nullcheck/test.scala')
-rw-r--r--test/files/jvm/patmat_opt_no_nullcheck/test.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/jvm/patmat_opt_no_nullcheck/test.scala b/test/files/jvm/patmat_opt_no_nullcheck/test.scala
new file mode 100644
index 0000000000..2927e763d5
--- /dev/null
+++ b/test/files/jvm/patmat_opt_no_nullcheck/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"))
+ }
+}