aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t4760.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t4760.scala')
-rw-r--r--tests/pending/pos/t4760.scala34
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/pending/pos/t4760.scala b/tests/pending/pos/t4760.scala
deleted file mode 100644
index d4407a86b..000000000
--- a/tests/pending/pos/t4760.scala
+++ /dev/null
@@ -1,34 +0,0 @@
-
-class Test {
- // parses
- def f1 = {
- import scala._;
- }
- // b.scala:7: error: ';' expected but '}' found.
- // }
- // ^
- // one error found
- def f2 = {
- import scala._
- }
- def f2b = {
- import scala.collection.mutable.{ Map => MMap }
- }
- def f(): Unit = {
- locally {
- import scala.util.Properties.lineSeparator
- }
- }
-
- // parses
- def f3 = {
- import scala._
- 5
- }
- locally { (x: Int) =>
- import scala.util._
- }
- 1 match {
- case 1 => import scala.concurrent._
- }
-}