* gcc.dg/noncompile/incomplete-1.c: New test.
From-SVN: r56514
This commit is contained in:
parent
8537ed688c
commit
a976230b42
@ -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.
|
||||
|
4
gcc/testsuite/gcc.dg/noncompile/incomplete-1.c
Normal file
4
gcc/testsuite/gcc.dg/noncompile/incomplete-1.c
Normal file
@ -0,0 +1,4 @@
|
||||
struct a
|
||||
{
|
||||
struct b t; /* { dg-error "has incomplete type" } */
|
||||
};
|
Loading…
Reference in New Issue
Block a user