summaryrefslogtreecommitdiff
path: root/test/pending/neg
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-03-28 14:47:06 +0000
committermihaylov <mihaylov@epfl.ch>2006-03-28 14:47:06 +0000
commitabc7c2c51c2e0e2cdaca71b38776d91b50e0b690 (patch)
treea472a2b93a16994a69f1632fc565ec7795568e87 /test/pending/neg
parente858e292e5871848c8665ebad177a6592aeec740 (diff)
downloadscala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.tar.gz
scala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.tar.bz2
scala-abc7c2c51c2e0e2cdaca71b38776d91b50e0b690.zip
Rearranged directories in test/pending/
Diffstat (limited to 'test/pending/neg')
-rwxr-xr-xtest/pending/neg/bug432.scala2
-rw-r--r--test/pending/neg/bug555.scala5
-rw-r--r--test/pending/neg/bug556.scala4
-rw-r--r--test/pending/neg/bug558.scala19
4 files changed, 30 insertions, 0 deletions
diff --git a/test/pending/neg/bug432.scala b/test/pending/neg/bug432.scala
new file mode 100755
index 0000000000..8e3097ac9d
--- /dev/null
+++ b/test/pending/neg/bug432.scala
@@ -0,0 +1,2 @@
+case class Tata
+object Tata
diff --git a/test/pending/neg/bug555.scala b/test/pending/neg/bug555.scala
new file mode 100644
index 0000000000..26dbe6cc0d
--- /dev/null
+++ b/test/pending/neg/bug555.scala
@@ -0,0 +1,5 @@
+object Main extends Application {
+ def tata = {
+ def titi = {}
+ }
+}
diff --git a/test/pending/neg/bug556.scala b/test/pending/neg/bug556.scala
new file mode 100644
index 0000000000..4f4e905fbb
--- /dev/null
+++ b/test/pending/neg/bug556.scala
@@ -0,0 +1,4 @@
+object Main extends Application {
+ def f(a:Int=>Int):Int = a(4)
+ def g:Int = f((x,y)=>x)
+}
diff --git a/test/pending/neg/bug558.scala b/test/pending/neg/bug558.scala
new file mode 100644
index 0000000000..f88471f776
--- /dev/null
+++ b/test/pending/neg/bug558.scala
@@ -0,0 +1,19 @@
+package scala.tools.nsc.models;
+import scala.tools.util._;
+
+abstract class NewModel {
+ abstract class SymbolURL {
+ val top : RootURL;
+ val name : String;
+ val source : AbstractFile;
+ }
+ abstract class NodeURL extends SymbolURL {
+ val parent : SymbolURL;
+ final val top = parent.top;
+ final val source = top.file;
+
+ }
+ abstract class RootURL extends SymbolURL {
+ final val top : RootURL = this;
+ }
+}