summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-08-26 09:23:43 +0000
committerpaltherr <paltherr@epfl.ch>2004-08-26 09:23:43 +0000
commit624d9f11987e15710df175ebad8953e055d1673c (patch)
treec150ef72f35a4ce7e783468a96ac8c320106d1d6 /test/files/pos
parent01e4da3b3b723c4842010fe2a7954cca301492c5 (diff)
downloadscala-624d9f11987e15710df175ebad8953e055d1673c.tar.gz
scala-624d9f11987e15710df175ebad8953e055d1673c.tar.bz2
scala-624d9f11987e15710df175ebad8953e055d1673c.zip
- Added bug 360
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/bug360.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug360.scala b/test/files/pos/bug360.scala
new file mode 100644
index 0000000000..53af1e8a1c
--- /dev/null
+++ b/test/files/pos/bug360.scala
@@ -0,0 +1,11 @@
+// $Id$
+
+abstract class Bug360A: Bug360C {
+ def f: String = "hello";
+}
+abstract class Bug360B: Bug360C {
+ object d {
+ System.out.println(f);
+ }
+}
+abstract class Bug360C extends Bug360A with Bug360B;