aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20031223-1.c11
2 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9095c8a..985f926 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-21 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR c/11995
+ * gcc.dg/20031223-1.c: New test.
+
2003-12-23 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/noreturn-7.c: New test.
diff --git a/gcc/testsuite/gcc.dg/20031223-1.c b/gcc/testsuite/gcc.dg/20031223-1.c
new file mode 100644
index 0000000..a022bf2
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/20031223-1.c
@@ -0,0 +1,11 @@
+/* PR c/11995 */
+/* The following test used to ICE after an error message
+ because GCC was trying to expand the trees to rtl. */
+
+/* { dg-do compile } */
+/* { dg-options "" } */
+
+void f ()
+{
+ l: int; /* { dg-error "" } */
+}