summaryrefslogtreecommitdiff
path: root/test/files/run/imports.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-05-22 07:55:49 +0000
committerpaltherr <paltherr@epfl.ch>2003-05-22 07:55:49 +0000
commit15321b16412ab8ebeed4e19b8d8f4feaa54d649a (patch)
tree33b43c3394eaea3f5eb116efae0ed47c7c6cbdf4 /test/files/run/imports.scala
parentace7fee429e8b81549e3826cce8f97b69c881354 (diff)
downloadscala-15321b16412ab8ebeed4e19b8d8f4feaa54d649a.tar.gz
scala-15321b16412ab8ebeed4e19b8d8f4feaa54d649a.tar.bz2
scala-15321b16412ab8ebeed4e19b8d8f4feaa54d649a.zip
- Removed the incorrect code
Diffstat (limited to 'test/files/run/imports.scala')
-rw-r--r--test/files/run/imports.scala67
1 files changed, 0 insertions, 67 deletions
diff --git a/test/files/run/imports.scala b/test/files/run/imports.scala
index ee0c474f3c..0eb342b984 100644
--- a/test/files/run/imports.scala
+++ b/test/files/run/imports.scala
@@ -20,48 +20,6 @@ import checker.check;
//############################################################################
-class C_coi() {
- o_coi.v_coi = this;
- override def toString(): String = "C_coi";
- def method: C_coi = v_coi;
- val field: C_coi = v_coi;
-
- check("C_coi", "v_coi ", v_coi);
- check("C_coi", "field ", field);
- check("C_coi", "method", method);
- System.out.println();
-}
-
-object o_coi {
- var v_coi: C_coi = null;
- new C_coi();
-}
-
-import o_coi.v_coi;
-
-//############################################################################
-
-class C_cio() {
- o_cio.v_cio = this;
- override def toString(): String = "C_cio";
- def method: C_cio = v_cio;
- val field: C_cio = v_cio;
-
- check("C_cio", "v_cio ", v_cio);
- check("C_cio", "field ", field);
- check("C_cio", "method", method);
- System.out.println();
-}
-
-import o_cio.v_cio;
-
-object o_cio {
- var v_cio: C_cio = null;
- new C_cio();
-}
-
-//############################################################################
-
import o_ico.v_ico;
class C_ico() {
@@ -125,36 +83,11 @@ class C_oic() {
//############################################################################
-object o_oci {
- var v_oci: C_oci = null;
- new C_oci();
-}
-
-class C_oci() {
- o_oci.v_oci = this;
- override def toString(): String = "C_oci";
- def method: C_oci = v_oci;
- val field: C_oci = v_oci;
- def test: Unit = {
- check("C_oci", "v_oci ", v_oci);
- check("C_oci", "field ", field);
- check("C_oci", "method", method);
- }
- System.out.println();
-}
-
-import o_oci.v_oci;
-
-//############################################################################
-
object Test {
def main(args: Array[String]): Unit = {
- o_coi;
- o_cio;
o_ico;
o_ioc;
o_oic;
- o_oci;
()
}
}