This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: test for PR 174


I'm committing this patch, which adds a test for PR 174.

2000-03-14  Tom Tromey  <tromey@cygnus.com>

	* libjava.compile/pr174.java: New file, for PR gcj/174.

Tom

Index: libjava.compile/pr174.java
===================================================================
RCS file: pr174.java
diff -N pr174.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ pr174.java	Tue Mar 14 10:33:56 2000
@@ -0,0 +1,20 @@
+class A
+{
+}
+
+public class Scope3
+{
+  public static void main(String args[])
+  {
+    new Scope3();
+  }
+
+  public Scope3()
+  {
+    A a = new A();
+  }
+
+  class A
+  {
+  }
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]