summaryrefslogtreecommitdiff
path: root/test/files/jvm/t6941/Analyzed_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/t6941/Analyzed_1.scala')
-rw-r--r--test/files/jvm/t6941/Analyzed_1.scala11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/files/jvm/t6941/Analyzed_1.scala b/test/files/jvm/t6941/Analyzed_1.scala
deleted file mode 100644
index b6951f71ee..0000000000
--- a/test/files/jvm/t6941/Analyzed_1.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-// this class's bytecode, compiled under -optimize is analyzed by the test
-// method a's bytecode should be identical to method b's bytecode
-class SameBytecode {
- def a(xs: List[Int]) = xs match {
- case x :: _ => x
- }
-
- def b(xs: List[Int]) = xs match {
- case xs: ::[Int] => xs.head
- }
-} \ No newline at end of file