OSDN Git Service

2004-06-08 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 13:30:33 +0000 (13:30 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jun 2004 13:30:33 +0000 (13:30 +0000)
        PR java/15769
        * libjava.compile/PR15769.java: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82757 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/testsuite/ChangeLog-old
libjava/testsuite/libjava.compile/PR15769.java [new file with mode: 0644]

index 6d958a7..19584b5 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR java/15769
+       * libjava.compile/PR15769.java: New test.
+
 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
diff --git a/libjava/testsuite/libjava.compile/PR15769.java b/libjava/testsuite/libjava.compile/PR15769.java
new file mode 100644 (file)
index 0000000..8107626
--- /dev/null
@@ -0,0 +1,10 @@
+class PR15769 {
+        private boolean foo () { return false; }
+
+
+        public boolean bar (double blaz)
+        {       
+                return (Double.POSITIVE_INFINITY != blaz) && foo ();
+        }
+}
+