aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libjava/testsuite/ChangeLog5
-rw-r--r--libjava/testsuite/libjava.compile/uesc.java9
-rw-r--r--libjava/testsuite/libjava.compile/uesc.xfail1
3 files changed, 15 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog
index fc6036b..cc4281f 100644
--- a/libjava/testsuite/ChangeLog
+++ b/libjava/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-20 Tom Tromey <tromey@redhat.com>
+
+ * libjava.compile/uesc.java: New file.
+ * libjava.compile/uesc.xfail: New file.
+
2001-03-16 Tom Tromey <tromey@redhat.com>
* lib/libjava.exp (libjava_arguments): Rewrote computation of
diff --git a/libjava/testsuite/libjava.compile/uesc.java b/libjava/testsuite/libjava.compile/uesc.java
new file mode 100644
index 0000000..b41ef69
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/uesc.java
@@ -0,0 +1,9 @@
+public class uesc
+{
+ public foo (Object[] v[])
+ {
+ char z = '\uuu00a0';
+ char y = '\u00au0'; // At one point we erroneously
+ // accepted this.
+ }
+}
diff --git a/libjava/testsuite/libjava.compile/uesc.xfail b/libjava/testsuite/libjava.compile/uesc.xfail
new file mode 100644
index 0000000..e3b083b
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/uesc.xfail
@@ -0,0 +1 @@
+shouldfail