summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-07-05 17:26:38 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-07-05 17:26:38 -0700
commit34d36108bf152469a934408da2b55c1df9c70a7a (patch)
tree3d1097375bba276ef659cbe207f607b63e5366ff /test/files/pos
parent171a1d8bc859947d80d4728c251abe330dbe9802 (diff)
parentefc6854f7df46a479cbdd2c40e777edd6ee36d33 (diff)
downloadscala-34d36108bf152469a934408da2b55c1df9c70a7a.tar.gz
scala-34d36108bf152469a934408da2b55c1df9c70a7a.tar.bz2
scala-34d36108bf152469a934408da2b55c1df9c70a7a.zip
Merge pull request #831 from dgruntz/issue/6033
SI-6033 Closed. Provides implicit conversion from BigInteger to BigInt
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t6033.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t6033.scala b/test/files/pos/t6033.scala
new file mode 100644
index 0000000000..60142af6be
--- /dev/null
+++ b/test/files/pos/t6033.scala
@@ -0,0 +1,5 @@
+object Test extends App {
+ val b = new java.math.BigInteger("123")
+ val big1 = BigInt(b)
+ val big2: BigInt = b
+}