diff options
Diffstat (limited to 'test/files/scalap/caseObject')
-rw-r--r-- | test/files/scalap/caseObject/A.scala | 3 | ||||
-rw-r--r-- | test/files/scalap/caseObject/result.test | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/files/scalap/caseObject/A.scala b/test/files/scalap/caseObject/A.scala new file mode 100644 index 0000000000..7c15416841 --- /dev/null +++ b/test/files/scalap/caseObject/A.scala @@ -0,0 +1,3 @@ +case object CaseObject { + def bar = 239 +}
\ No newline at end of file diff --git a/test/files/scalap/caseObject/result.test b/test/files/scalap/caseObject/result.test new file mode 100644 index 0000000000..2097c5a71d --- /dev/null +++ b/test/files/scalap/caseObject/result.test @@ -0,0 +1,8 @@ +case object CaseObject extends java.lang.Object with scala.ScalaObject with scala.Product { + def bar : scala.Int = { /* compiled code */ } + final override def toString() : java.lang.String = { /* compiled code */ } + override def productPrefix : java.lang.String = { /* compiled code */ } + override def productArity : scala.Int = { /* compiled code */ } + override def productElement(x$1 : scala.Int) : scala.Any = { /* compiled code */ } + protected def readResolve() : java.lang.Object = { /* compiled code */ } +}
\ No newline at end of file |