aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2741/2741_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t2741/2741_2.scala')
-rw-r--r--tests/pos/t2741/2741_2.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/t2741/2741_2.scala b/tests/pos/t2741/2741_2.scala
new file mode 100644
index 000000000..a9fd9d7d0
--- /dev/null
+++ b/tests/pos/t2741/2741_2.scala
@@ -0,0 +1,5 @@
+// object Test compiles jointly, but not separately.
+object Test {
+ import Scalaz._
+ Scalaz.a
+}