summaryrefslogtreecommitdiff
path: root/test/files/pos/t6033.scala
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-05 23:49:39 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2012-07-05 23:49:39 +0200
commitefc6854f7df46a479cbdd2c40e777edd6ee36d33 (patch)
tree3d1097375bba276ef659cbe207f607b63e5366ff /test/files/pos/t6033.scala
parent171a1d8bc859947d80d4728c251abe330dbe9802 (diff)
downloadscala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.tar.gz
scala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.tar.bz2
scala-efc6854f7df46a479cbdd2c40e777edd6ee36d33.zip
SI-6033 Closed. Provides implicit conversion from java.math.BigInteger to BigInt
Diffstat (limited to 'test/files/pos/t6033.scala')
-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
+}