aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/N19990310_01.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/N19990310_01.java')
-rw-r--r--libjava/testsuite/libjava.compile/N19990310_01.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/N19990310_01.java b/libjava/testsuite/libjava.compile/N19990310_01.java
new file mode 100644
index 0000000..a9b9c19
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/N19990310_01.java
@@ -0,0 +1,18 @@
+/*--------------------------------------------------------------------------*/
+/* name : N19990310_01 */
+/* : */
+/* cause : When compare string with connected strings, error. */
+/* : */
+/* Message : Internal compiler error: program jc1 got */
+/* : fatal signal 11 */
+/*--------------------------------------------------------------------------*/
+
+public class N19990310_01 {
+ public static void main(String[] args) {
+
+ if ( "Hello" == ("Hel"+"lo") ) {
+ }
+
+ System.out.println("OK");
+ }
+}