summaryrefslogtreecommitdiff
path: root/test/files/pos/t3836.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t3836.scala')
-rw-r--r--test/files/pos/t3836.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/t3836.scala b/test/files/pos/t3836.scala
new file mode 100644
index 0000000000..840f171164
--- /dev/null
+++ b/test/files/pos/t3836.scala
@@ -0,0 +1,14 @@
+package foo
+
+package object bar {
+ type IOException = java.io.IOException
+}
+
+package baz {
+ import java.io._
+ import foo.bar._
+
+ object Test {
+ def f = new IOException
+ }
+}