* gcc.dg/noncompile/incomplete-1.c: New test.

From-SVN: r56514
This commit is contained in:
Geoffrey Keating 2002-08-22 20:05:52 +00:00 committed by Geoffrey Keating
parent 8537ed688c
commit a976230b42
2 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -0,0 +1,4 @@
struct a
{
struct b t; /* { dg-error "has incomplete type" } */
};