summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/pos/t8363b.scala7
-rw-r--r--test/pending/run/t4728.check2
-rw-r--r--test/pending/run/t4728.scala11
3 files changed, 7 insertions, 13 deletions
diff --git a/test/pending/pos/t8363b.scala b/test/pending/pos/t8363b.scala
new file mode 100644
index 0000000000..393e2a0237
--- /dev/null
+++ b/test/pending/pos/t8363b.scala
@@ -0,0 +1,7 @@
+class C(a: Any)
+class Test {
+ def foo: Any = {
+ def form = 0
+ class C1 extends C({def x = form; ()})
+ }
+}
diff --git a/test/pending/run/t4728.check b/test/pending/run/t4728.check
deleted file mode 100644
index 7a754f414c..0000000000
--- a/test/pending/run/t4728.check
+++ /dev/null
@@ -1,2 +0,0 @@
-1
-2 \ No newline at end of file
diff --git a/test/pending/run/t4728.scala b/test/pending/run/t4728.scala
deleted file mode 100644
index 36f7860613..0000000000
--- a/test/pending/run/t4728.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-class X
-class Y extends X
-object Ambiguous {
- def f(x: X) = 1
- def f(ys: Y*) = 2
-}
-
-object Test extends App {
- println(Ambiguous.f(new X))
- println(Ambiguous.f(new Y))
-} \ No newline at end of file