summaryrefslogtreecommitdiff
path: root/test/files/pos/t4547.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t4547.scala')
-rw-r--r--test/files/pos/t4547.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t4547.scala b/test/files/pos/t4547.scala
new file mode 100644
index 0000000000..01f229bbf6
--- /dev/null
+++ b/test/files/pos/t4547.scala
@@ -0,0 +1,4 @@
+object Main {
+ def g: BigInt = 5 + BigInt(4) // since we're looking for an implicit that converts an int into something that has a + method that takes a BigInt, BigInt should be in the implicit scope
+ def g2 = 5 + BigInt(4)
+} \ No newline at end of file