From 57df19548324e97abea25251fbec1535c3ce8713 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 21 Mar 2001 18:52:24 +0000 Subject: uesc.java: New file. * libjava.compile/uesc.java: New file. * libjava.compile/uesc.xfail: New file. From-SVN: r40704 --- libjava/testsuite/libjava.compile/uesc.java | 9 +++++++++ libjava/testsuite/libjava.compile/uesc.xfail | 1 + 2 files changed, 10 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/uesc.java create mode 100644 libjava/testsuite/libjava.compile/uesc.xfail (limited to 'libjava/testsuite/libjava.compile') 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 -- cgit v1.1