aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/nested_with_ctor.java
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-20 19:33:11 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-20 19:33:11 +0000
commitf9b8acf532be1306e87a2aca5e311149e44a38fb (patch)
tree756e826e594454f3376185b80f5895fdc5e1306b /libjava/testsuite/libjava.lang/nested_with_ctor.java
parent50fd6b48dca019bdefd2ec1f4caa93b42ce02574 (diff)
This commit was manufactured by cvs2svn to create tagcondexec_merge_20000420
'condexec_merge_20000420'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/condexec_merge_20000420@33290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.lang/nested_with_ctor.java')
-rw-r--r--libjava/testsuite/libjava.lang/nested_with_ctor.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/libjava/testsuite/libjava.lang/nested_with_ctor.java b/libjava/testsuite/libjava.lang/nested_with_ctor.java
deleted file mode 100644
index 4560dc3993f..00000000000
--- a/libjava/testsuite/libjava.lang/nested_with_ctor.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Class nested_with_ctor
-// Generated on Mon Jan 31 18:31:47 PST 2000
-// The nested class contains explicit constructors. Their argument
-// lists should be augmented with the alias initializer values when
-// the ctors are seen declared (as opposed to generated.)
-
-class nested_with_ctor {
-
- void fct(final String s, final int i)
- {
- class nested {
- String buffer = s+i;
- String getString () { return buffer; }
- nested (int i) { buffer = "(int)"+i; }
- nested () {}
- }
- nested x = new nested ();
- System.out.println (x.getString ());
- nested y = new nested (123);
- System.out.println (y.getString ());
- }
- public static void main (String[] arg)
- {
- System.out.println ("Testing class `nested_with_ctor'...");
- new nested_with_ctor ().fct ("Yikes!", 321);
- }
-}