aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3836.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t3836.scala')
-rw-r--r--tests/pos/t3836.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/pos/t3836.scala b/tests/pos/t3836.scala
new file mode 100644
index 000000000..840f17116
--- /dev/null
+++ b/tests/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
+ }
+}