summaryrefslogtreecommitdiff
path: root/test/files/pos/t6335.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t6335.scala')
-rw-r--r--test/files/pos/t6335.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t6335.scala b/test/files/pos/t6335.scala
new file mode 100644
index 0000000000..a39c4f27f5
--- /dev/null
+++ b/test/files/pos/t6335.scala
@@ -0,0 +1,11 @@
+object E {
+ def X = 3
+ implicit class X(val i: Int) {
+ def xx = i
+ }
+}
+
+object Test {
+ import E._
+ 0.xx
+}