From e47c5acd7b2c5dcaf4ece03897e9baa12e867cf9 Mon Sep 17 00:00:00 2001 From: Alexandre Petit-Bianco Date: Fri, 13 Jul 2001 12:45:05 -0700 Subject: anon_ctor_itf_arg.java: Moved to `libjava.lang.' 2001-07-12 Alexandre Petit-Bianco * libjava.compile/anon_ctor_itf_arg.java: Moved to `libjava.lang.' * libjava.compile/anon_ctor_itf_arg.out: Likewise * libjava.lang/invoke_from_inner.java: New file. * libjava.lang/invoke_from_inner.out: Likewise. (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00061.html ) From-SVN: r43994 --- .../libjava.compile/anon_ctor_itf_arg.java | 38 ---------------------- .../libjava.compile/anon_ctor_itf_arg.out | 1 - 2 files changed, 39 deletions(-) delete mode 100644 libjava/testsuite/libjava.compile/anon_ctor_itf_arg.java delete mode 100644 libjava/testsuite/libjava.compile/anon_ctor_itf_arg.out (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.java b/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.java deleted file mode 100644 index 1fd16f1..0000000 --- a/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.java +++ /dev/null @@ -1,38 +0,0 @@ -/* From java/3285, By p.thio@valescom.com */ - -interface I -{ - void print (); -}; - -class C1 -implements I -{ - public void print () { System.out.println ("C1: Message"); } -} - -abstract -class C2 -{ - C2(I i) - { - i.print (); - } - abstract void h(); -} - -public -class anon_ctor_itf_arg -{ - public static - void main(String argv[]) - { - C1 c1 = new C1(); - new C2(c1) - { - void h() - { - } - }; - } -} diff --git a/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.out b/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.out deleted file mode 100644 index abddf8e..0000000 --- a/libjava/testsuite/libjava.compile/anon_ctor_itf_arg.out +++ /dev/null @@ -1 +0,0 @@ -C1: Message -- cgit v1.1