aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t1038.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t1038.scala')
-rw-r--r--tests/untried/neg/t1038.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/t1038.scala b/tests/untried/neg/t1038.scala
new file mode 100644
index 000000000..367022965
--- /dev/null
+++ b/tests/untried/neg/t1038.scala
@@ -0,0 +1,8 @@
+class X(x : Int)
+
+object Y {
+ val a = new X
+ import a._
+ implicit val b : Int = 1
+ implicit val c = 2
+}