summaryrefslogtreecommitdiff
path: root/test/files/presentation/t7548b/src/Foo.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation/t7548b/src/Foo.scala')
-rw-r--r--test/files/presentation/t7548b/src/Foo.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/presentation/t7548b/src/Foo.scala b/test/files/presentation/t7548b/src/Foo.scala
new file mode 100644
index 0000000000..5cf0a4ef4e
--- /dev/null
+++ b/test/files/presentation/t7548b/src/Foo.scala
@@ -0,0 +1,12 @@
+import language._
+
+object Foo {
+ object I {
+ def +(other: I.type) : Unit = ()
+ }
+ object BI {
+ def +(other: BI.type): Unit = ()
+ }
+ implicit def I2BI(i: I.type): BI.type = BI
+ I.+(BI)
+}