summaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-22 20:05:52 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-22 20:05:52 +0000
commit4cb3434511c0a3292d6e06e6bc7faed4a34bcf82 (patch)
treee1ea210e22dc35893c9d55ab44644a493bf702e8 /gcc/testsuite
parent40b9be5e1fbdf5c0b86ff17f4c07c0bbc65fdbdb (diff)
downloadgcc-4cb3434511c0a3292d6e06e6bc7faed4a34bcf82.tar.gz
* gcc.dg/noncompile/incomplete-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56514 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/incomplete-1.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 228b2f08411..1fdf1bcf746 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-22 Geoffrey Keating <geoffk@redhat.com>
+
+ * gcc.dg/noncompile/incomplete-1.c: New test.
+
2002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
* gcc.dg/typespec-1.c: New test.
diff --git a/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c b/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c
new file mode 100644
index 00000000000..773643b3f50
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/noncompile/incomplete-1.c
@@ -0,0 +1,4 @@
+struct a
+{
+ struct b t; /* { dg-error "has incomplete type" } */
+};