aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-03-16 00:59:31 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-03-16 00:59:31 +0000
commitc79e602b6302889036c04a7ca530afc5ae97e053 (patch)
tree62dc23023bb72619d67f7423a9526121e5f67962 /gcc
parent2532808d17ab69f24bb50e9daf6c27e20d90f352 (diff)
downloadgcc-c79e602b6302889036c04a7ca530afc5ae97e053.zip
gcc-c79e602b6302889036c04a7ca530afc5ae97e053.tar.gz
gcc-c79e602b6302889036c04a7ca530afc5ae97e053.tar.bz2
charset.c (_cpp_valid_ucn): In identifiers, reject a partial UCN rather than printing an error.
2005-03-15 Geoffrey Keating <geoffk@apple.com> * charset.c (_cpp_valid_ucn): In identifiers, reject a partial UCN rather than printing an error. Index: gcc/testsuite/ChangeLog 2005-03-15 Geoffrey Keating <geoffk@apple.com> * gcc.dg/cpp/ucnid-7.c: New. From-SVN: r96546
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/cpp/ucnid-7.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fd4e902..9f4d667 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-15 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.dg/cpp/ucnid-7.c: New.
+
2005-03-15 Janis Johnson <janis187@us.ibm.com>
Dorit Naishlos <dorit@il.ibm.com>
diff --git a/gcc/testsuite/gcc.dg/cpp/ucnid-7.c b/gcc/testsuite/gcc.dg/cpp/ucnid-7.c
new file mode 100644
index 0000000..854c948
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/cpp/ucnid-7.c
@@ -0,0 +1,5 @@
+/* { dg-do compile } */
+/* { dg-options "-std=c99" } */
+#define a b(
+#define b(x) q
+int a\U0000000z );